aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-15 16:10:55 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-15 16:10:55 +0200
commit7c5141842081e7f9031cb3063089d2d03a30a0fe (patch)
tree9256acdfa40d0c8af0cb5700a53ee6d3e9368ff0
parentd310ffc26cd592cb07148daf6e5a36c4b12c6657 (diff)
downloadforums-7c5141842081e7f9031cb3063089d2d03a30a0fe.tar
forums-7c5141842081e7f9031cb3063089d2d03a30a0fe.tar.gz
forums-7c5141842081e7f9031cb3063089d2d03a30a0fe.tar.bz2
forums-7c5141842081e7f9031cb3063089d2d03a30a0fe.tar.xz
forums-7c5141842081e7f9031cb3063089d2d03a30a0fe.zip
[ticket/12716] Add the missing parameters in the call of clearToken
PHPBB3-12716
-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 b7d32bf246..613d9565e5 100644
--- a/phpBB/phpbb/auth/provider/oauth/token_storage.php
+++ b/phpBB/phpbb/auth/provider/oauth/token_storage.php
@@ -265,7 +265,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');
}