Bug fixes

This commit is contained in:
Alex Bilbie 2016-02-21 17:09:12 +00:00
parent f06adb38cd
commit eedcfe115c

View File

@ -140,11 +140,10 @@ class OAuthServerException extends \Exception
{ {
return new static( return new static(
'The authorization server encountered an unexpected condition which prevented it from fulfilling' 'The authorization server encountered an unexpected condition which prevented it from fulfilling'
. 'the request.', . ' the request: ' . $hint,
7, 7,
'server_error', 'server_error',
500, 500
$hint
); );
} }
@ -172,8 +171,8 @@ class OAuthServerException extends \Exception
{ {
return new static( return new static(
'The resource owner or authorization server denied the request.', 'The resource owner or authorization server denied the request.',
'access_denied',
9, 9,
'access_denied',
401, 401,
$hint, $hint,
$redirectUri $redirectUri