diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-07-24 16:57:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 16:57:04 +0200 |
commit | 3a9aa28558313acdf917b07abceffcd3622c3059 (patch) | |
tree | 9ceebc0956bdd03aa58e8267149cfbb585b04f8b /src/Wallabag/CoreBundle/Resources/config | |
parent | 3a08e81969e9deafdb4d1aa890c03d67adcc4897 (diff) | |
parent | 51d7f62b316abfc14e770b3108edb0e3f48e38dd (diff) | |
download | wallabag-3a9aa28558313acdf917b07abceffcd3622c3059.tar.gz wallabag-3a9aa28558313acdf917b07abceffcd3622c3059.tar.zst wallabag-3a9aa28558313acdf917b07abceffcd3622c3059.zip |
Merge pull request #4063 from wallabag/fix/cookiejar
Use a custom cookiejar to avoid error when the cookie is badly saved
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 31986951..3f3d4de7 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -82,8 +82,10 @@ services: | |||
82 | - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]] | 82 | - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]] |
83 | 83 | ||
84 | wallabag_core.guzzle.cookie_jar: | 84 | wallabag_core.guzzle.cookie_jar: |
85 | class: GuzzleHttp\Cookie\FileCookieJar | 85 | class: Wallabag\CoreBundle\Helper\FileCookieJar |
86 | arguments: ["%kernel.cache_dir%/cookiejar.json"] | 86 | arguments: |
87 | - "@logger" | ||
88 | - "%kernel.cache_dir%/cookiejar.json" | ||
87 | 89 | ||
88 | wallabag_core.content_proxy: | 90 | wallabag_core.content_proxy: |
89 | class: Wallabag\CoreBundle\Helper\ContentProxy | 91 | class: Wallabag\CoreBundle\Helper\ContentProxy |