Fixed incorrect exception status code and error type

This commit is contained in:
Alex Bilbie 2014-08-06 08:42:58 +01:00
parent 07a42f6f43
commit 06d5b343d6

View File

@ -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}