mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-07 12:33:53 +05:30
PSR-2 fix
This commit is contained in:
parent
85a53d7470
commit
c73d45fc07
@ -184,8 +184,7 @@ class Password implements GrantTypeInterface {
|
|||||||
$accessTokenId = $this->authServer->getStorage('session')->associateAccessToken($sessionId, $accessToken, $accessTokenExpires);
|
$accessTokenId = $this->authServer->getStorage('session')->associateAccessToken($sessionId, $accessToken, $accessTokenExpires);
|
||||||
|
|
||||||
// Associate scopes with the access token
|
// Associate scopes with the access token
|
||||||
foreach ($authParams['scopes'] as $scope)
|
foreach ($authParams['scopes'] as $scope) {
|
||||||
{
|
|
||||||
$this->authServer->getStorage('session')->associateScope($accessTokenId, $scope['id']);
|
$this->authServer->getStorage('session')->associateScope($accessTokenId, $scope['id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user