1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-09 09:05:23 +02:00

[ticket/12716] Add the missing parameters in the call of clearToken

PHPBB3-12716
This commit is contained in:
Tristan Darricau 2014-06-15 16:10:55 +02:00
parent d310ffc26c
commit 7c51418420

View File

@ -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');
}