mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-25 14:40:00 +05:30
Bug fixes
This commit is contained in:
parent
f06adb38cd
commit
eedcfe115c
@ -140,11 +140,10 @@ class OAuthServerException extends \Exception
|
||||
{
|
||||
return new static(
|
||||
'The authorization server encountered an unexpected condition which prevented it from fulfilling'
|
||||
. 'the request.',
|
||||
. ' the request: ' . $hint,
|
||||
7,
|
||||
'server_error',
|
||||
500,
|
||||
$hint
|
||||
500
|
||||
);
|
||||
}
|
||||
|
||||
@ -172,8 +171,8 @@ class OAuthServerException extends \Exception
|
||||
{
|
||||
return new static(
|
||||
'The resource owner or authorization server denied the request.',
|
||||
'access_denied',
|
||||
9,
|
||||
'access_denied',
|
||||
401,
|
||||
$hint,
|
||||
$redirectUri
|
||||
|
Loading…
Reference in New Issue
Block a user