mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Fixed adding scope to a session
This commit is contained in:
parent
bb4ca4eb37
commit
d25ef6bb89
@ -284,9 +284,9 @@ maintenance of the server.'
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Add the scopes
|
// Add the scopes
|
||||||
foreach ($scopes as $scope) {
|
foreach ($scopes as $key => $scope) {
|
||||||
|
|
||||||
$this->db->addSessionScope($sessionId, $scope);
|
$this->db->addSessionScope($sessionId, $scope['scope']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user