mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Bug fixes
This commit is contained in:
parent
f06adb38cd
commit
eedcfe115c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user