mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-08 21:14:00 +05:30
Fixed incorrect exception status code and error type
This commit is contained in:
parent
07a42f6f43
commit
06d5b343d6
@ -19,12 +19,12 @@ class InvalidRefreshException extends OAuthException
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public $httpStatusCode = 401;
|
public $httpStatusCode = 400;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public $errorType = 'invalid_client';
|
public $errorType = 'invalid_request';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
Loading…
Reference in New Issue
Block a user