From c86c7dde70cecc459cb3592f8a862389e3d841d0 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 3 Aug 2017 16:07:11 +0100 Subject: [PATCH] Fix #759 --- src/Exception/OAuthServerException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exception/OAuthServerException.php b/src/Exception/OAuthServerException.php index 6cd82bb3..45e03c07 100644 --- a/src/Exception/OAuthServerException.php +++ b/src/Exception/OAuthServerException.php @@ -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); } /**