mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12716] Add the missing parameters in the call of clearToken
PHPBB3-12716
This commit is contained in:
parent
d310ffc26c
commit
7c51418420
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class token_storage implements TokenStorageInterface
|
||||||
// Ensure that the token was serialized/unserialized correctly
|
// Ensure that the token was serialized/unserialized correctly
|
||||||
if (!($token instanceof TokenInterface))
|
if (!($token instanceof TokenInterface))
|
||||||
{
|
{
|
||||||
$this->clearToken();
|
$this->clearToken($data['provider']);
|
||||||
throw new TokenNotFoundException('AUTH_PROVIDER_OAUTH_TOKEN_ERROR_INCORRECTLY_STORED');
|
throw new TokenNotFoundException('AUTH_PROVIDER_OAUTH_TOKEN_ERROR_INCORRECTLY_STORED');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue