mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-28 16:00:24 +05:30
Corrected array key call. Fixes #63
This commit is contained in:
parent
92b6ce3335
commit
47c24e3181
@ -194,7 +194,7 @@ class Resource
|
|||||||
|
|
||||||
$sessionScopes = $this->storages['session']->getScopes($this->accessToken);
|
$sessionScopes = $this->storages['session']->getScopes($this->accessToken);
|
||||||
foreach ($sessionScopes as $scope) {
|
foreach ($sessionScopes as $scope) {
|
||||||
$this->sessionScopes[] = $scope['key'];
|
$this->sessionScopes[] = $scope['scope'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user