mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Fixed incorrect parameter name
This commit is contained in:
		@@ -364,7 +364,7 @@ maintenance of the server.',
 | 
			
		||||
                $authParams['grant_type'] : $_POST['grant_type'];
 | 
			
		||||
 | 
			
		||||
            // Ensure response type is one that is recognised
 | 
			
		||||
            if ( ! in_array($params['response_type'], $this->grant_types)) {
 | 
			
		||||
            if ( ! in_array($params['grant_type'], $this->grant_types)) {
 | 
			
		||||
 | 
			
		||||
                throw new OAuthServerClientException(
 | 
			
		||||
                    $this->errors['unsupported_grant_type'], 7);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user