mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-10 01:25:33 +02:00
[ticket/12716] Add the missing parameters in the call of clearToken
PHPBB3-12716
This commit is contained in:
parent
d310ffc26c
commit
7c51418420
@ -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…
x
Reference in New Issue
Block a user