mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-13 16:58:55 +05:30
Probable bug
AccessTokenStorage::delete should delete the token, not the scope associated with the token
This commit is contained in:
parent
ea6edf572a
commit
d43391564c
@ -86,7 +86,7 @@ class AccessTokenStorage extends AbstractStorage implements AccessTokenInterface
|
||||
*/
|
||||
public function delete(AccessTokenEntity $token)
|
||||
{
|
||||
Capsule::table('oauth_access_token_scopes')
|
||||
Capsule::table('oauth_access_tokens')
|
||||
->where('access_token', $token->getId())
|
||||
->delete();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user