aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-06-27 16:00:29 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-06-27 16:00:29 +0200
commit404c2f11448f53e55eca4cfdf082671230711241 (patch)
tree9f0d18f57bff2bd4f9c418c28e4ab6657ccc8bb1 /phpBB/phpbb
parent919e1a6bc87ff93d974224678c63b7ddef4a708b (diff)
parent2ebd86611a760b923752a6103e3f75d2bb94e048 (diff)
downloadforums-404c2f11448f53e55eca4cfdf082671230711241.tar
forums-404c2f11448f53e55eca4cfdf082671230711241.tar.gz
forums-404c2f11448f53e55eca4cfdf082671230711241.tar.bz2
forums-404c2f11448f53e55eca4cfdf082671230711241.tar.xz
forums-404c2f11448f53e55eca4cfdf082671230711241.zip
Merge pull request #2598 from Nicofuma/ticket/12716
[ticket/12716] Add the missing parameters in the call of clearToken * Nicofuma/ticket/12716: [ticket/12716] Use a string as session_id [ticket/12716] Add regression test [ticket/12716] Add the missing parameters in the call of clearToken
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/token_storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/token_storage.php b/phpBB/phpbb/auth/provider/oauth/token_storage.php
index fe1a376cfe..023cf402ca 100644
--- a/phpBB/phpbb/auth/provider/oauth/token_storage.php
+++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php
@@ -266,7 +266,7 @@ class token_storage implements TokenStorageInterface
// Ensure that the token was serialized/unserialized correctly
if (!($token instanceof TokenInterface))
{
- $this->clearToken();
+ $this->clearToken($data['provider']);
throw new TokenNotFoundException('AUTH_PROVIDER_OAUTH_TOKEN_ERROR_INCORRECTLY_STORED');
}