mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 18:19:47 +05:30
Changed the error thrown if the client credentials are invalid to invalid_client
This commit is contained in:
parent
fd1fe96c07
commit
3c599e5454
@ -130,7 +130,7 @@ maintenance of the server.',
|
|||||||
if ($clientDetails === false) {
|
if ($clientDetails === false) {
|
||||||
|
|
||||||
throw new OAuthServerClientException(
|
throw new OAuthServerClientException(
|
||||||
$this->errors['unauthorized_client'], 1);
|
$this->errors['invalid_client'], 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Response type
|
// Response type
|
||||||
|
Loading…
Reference in New Issue
Block a user