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