diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-05-10 10:58:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 10:58:19 +0200 |
commit | 09edbff336a22061d8cac41b1c1e9faa7629d5c6 (patch) | |
tree | 3953c2614d1cb493e4feb362f698abb5ac9f5864 /src/Wallabag/CoreBundle/Helper | |
parent | e538c85ba7f028ff59ceb96f3b4779b1ef41bc14 (diff) | |
parent | 150d9ec1dcca0f71ba19a7f55e599eb716541dc3 (diff) | |
download | wallabag-09edbff336a22061d8cac41b1c1e9faa7629d5c6.tar.gz wallabag-09edbff336a22061d8cac41b1c1e9faa7629d5c6.tar.zst wallabag-09edbff336a22061d8cac41b1c1e9faa7629d5c6.zip |
Merge pull request #3101 from wallabag/credentials-new-extrafields
Skip auth when no credentials are found
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/HttpClientFactory.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php b/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php index 11ef26d8..43f5b119 100644 --- a/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php +++ b/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php | |||
@@ -51,6 +51,7 @@ class HttpClientFactory | |||
51 | $this->cookieJar->clear(); | 51 | $this->cookieJar->clear(); |
52 | // need to set the (shared) cookie jar | 52 | // need to set the (shared) cookie jar |
53 | $client = new Client(['handler' => new SafeCurlHandler(), 'defaults' => ['cookies' => $this->cookieJar]]); | 53 | $client = new Client(['handler' => new SafeCurlHandler(), 'defaults' => ['cookies' => $this->cookieJar]]); |
54 | |||
54 | foreach ($this->subscribers as $subscriber) { | 55 | foreach ($this->subscribers as $subscriber) { |
55 | $client->getEmitter()->attach($subscriber); | 56 | $client->getEmitter()->attach($subscriber); |
56 | } | 57 | } |