mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Fixed incorrect parameter name
This commit is contained in:
parent
9ead06077c
commit
9df1c8e20d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user