diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-08-20 07:53:55 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-08-20 07:53:55 +0200 |
commit | 8ce32af61229eec8f4cc34b207273d47f60adc48 (patch) | |
tree | 4d878e6d4eb5c1baab95cd02e3eb95ee4182a399 /src/Wallabag/ApiBundle/Security | |
parent | 34437f408c5b7b590aded6795d7ce01bfbfc7711 (diff) | |
download | wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.gz wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.tar.zst wallabag-8ce32af61229eec8f4cc34b207273d47f60adc48.zip |
CS
We shouldn't forget to run `php-cs-fixer` time to time
Diffstat (limited to 'src/Wallabag/ApiBundle/Security')
-rw-r--r-- | src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php | 2 | ||||
-rw-r--r-- | src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php b/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php index db73ae2a..9bf8b377 100644 --- a/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php +++ b/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php | |||
@@ -17,7 +17,7 @@ class WsseProvider implements AuthenticationProviderInterface | |||
17 | public function __construct(UserProviderInterface $userProvider, $cacheDir) | 17 | public function __construct(UserProviderInterface $userProvider, $cacheDir) |
18 | { | 18 | { |
19 | $this->userProvider = $userProvider; | 19 | $this->userProvider = $userProvider; |
20 | $this->cacheDir = $cacheDir; | 20 | $this->cacheDir = $cacheDir; |
21 | 21 | ||
22 | // If cache directory does not exist we create it | 22 | // If cache directory does not exist we create it |
23 | if (!is_dir($this->cacheDir)) { | 23 | if (!is_dir($this->cacheDir)) { |
diff --git a/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php b/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php index 50587837..2fcbe014 100644 --- a/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php +++ b/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php | |||
@@ -36,9 +36,9 @@ class WsseListener implements ListenerInterface | |||
36 | $token = new WsseUserToken(); | 36 | $token = new WsseUserToken(); |
37 | $token->setUser($matches[1]); | 37 | $token->setUser($matches[1]); |
38 | 38 | ||
39 | $token->digest = $matches[2]; | 39 | $token->digest = $matches[2]; |
40 | $token->nonce = $matches[3]; | 40 | $token->nonce = $matches[3]; |
41 | $token->created = $matches[4]; | 41 | $token->created = $matches[4]; |
42 | 42 | ||
43 | try { | 43 | try { |
44 | $authToken = $this->authenticationManager->authenticate($token); | 44 | $authToken = $this->authenticationManager->authenticate($token); |