diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-06-27 16:00:29 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-06-27 16:00:29 +0200 |
commit | 404c2f11448f53e55eca4cfdf082671230711241 (patch) | |
tree | 9f0d18f57bff2bd4f9c418c28e4ab6657ccc8bb1 /phpBB/phpbb | |
parent | 919e1a6bc87ff93d974224678c63b7ddef4a708b (diff) | |
parent | 2ebd86611a760b923752a6103e3f75d2bb94e048 (diff) | |
download | forums-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.php | 2 |
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'); } |