mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-21 15:13:23 +05:30
Fix #759
This commit is contained in:
1 parent
e184691ded
commit
c86c7dde70
1 file changed
+1
-1
@@ -152,7 +152,7 @@ class OAuthServerException extends \Exception
|
||||
*/
|
||||
public static function invalidRefreshToken($hint = null)
|
||||
{
|
||||
return new static('The refresh token is invalid.', 8, 'invalid_request', 400, $hint);
|
||||
return new static('The refresh token is invalid.', 8, 'invalid_request', 401, $hint);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user