mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 13:09:44 +05:30
Storage corrected
Wrong client storage replaced with session storage
This commit is contained in:
parent
521e5b22aa
commit
74d9946db3
@ -102,7 +102,7 @@ class RefreshToken implements GrantTypeInterface {
|
||||
}
|
||||
|
||||
// Validate refresh token
|
||||
$sessionId = $this->authServer->getStorage('client')->validateRefreshToken(
|
||||
$sessionId = $this->authServer->getStorage('session')->validateRefreshToken(
|
||||
$authParams['refresh_token'],
|
||||
$authParams['client_id']
|
||||
);
|
||||
@ -129,4 +129,4 @@ class RefreshToken implements GrantTypeInterface {
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user