From 06d5b343d6a88ff0738464ceb6043292f3c617d2 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 6 Aug 2014 08:42:58 +0100 Subject: [PATCH] Fixed incorrect exception status code and error type --- src/Exception/InvalidRefreshException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Exception/InvalidRefreshException.php b/src/Exception/InvalidRefreshException.php index 5c116f84..5ca3d921 100644 --- a/src/Exception/InvalidRefreshException.php +++ b/src/Exception/InvalidRefreshException.php @@ -19,12 +19,12 @@ class InvalidRefreshException extends OAuthException /** * {@inheritdoc} */ - public $httpStatusCode = 401; + public $httpStatusCode = 400; /** * {@inheritdoc} */ - public $errorType = 'invalid_client'; + public $errorType = 'invalid_request'; /** * {@inheritdoc}