mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Variable name fix
This commit is contained in:
parent
a81c486e0e
commit
85c42db355
@ -62,14 +62,14 @@ class ClientCredentials implements GrantTypeInterface {
|
||||
$accessTokenExpiresIn = AuthServer::getExpiresIn();
|
||||
|
||||
// Delete any existing sessions just to be sure
|
||||
AuthServer::getStorage('session')->delete($params['client_id'], 'client', $params['client_id']);
|
||||
AuthServer::getStorage('session')->delete($authParams['client_id'], 'client', $authParams['client_id']);
|
||||
|
||||
// Create a new session
|
||||
AuthServer::getStorage('session')->newSession(
|
||||
$params['client_id'],
|
||||
$authParams['client_id'],
|
||||
null,
|
||||
'client',
|
||||
$params['client_id'],
|
||||
$authParams['client_id'],
|
||||
null,
|
||||
$accessToken,
|
||||
$refreshToken,
|
||||
|
Loading…
Reference in New Issue
Block a user