Changed the error thrown if the client credentials are invalid to invalid_client

This commit is contained in:
Alex Bilbie 2012-07-25 14:31:09 +01:00
parent fd1fe96c07
commit 3c599e5454

View File

@ -130,7 +130,7 @@ maintenance of the server.',
if ($clientDetails === false) {
throw new OAuthServerClientException(
$this->errors['unauthorized_client'], 1);
$this->errors['invalid_client'], 8);
}
// Response type