aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Security
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ApiBundle/Security')
-rw-r--r--src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php2
-rw-r--r--src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php6
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);