feat: add more desctiptions
This commit is contained in:
parent
6a0b3c328b
commit
aedded86de
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ return [
|
||||||
],
|
],
|
||||||
Exception::TYPE_UNAUTHORIZED_SCOPE => [
|
Exception::TYPE_UNAUTHORIZED_SCOPE => [
|
||||||
'name' => Exception::TYPE_UNAUTHORIZED_SCOPE,
|
'name' => Exception::TYPE_UNAUTHORIZED_SCOPE,
|
||||||
'description' => 'Unauthorized scope',
|
'description' => 'The current user is not authorized to access the requested resource.',
|
||||||
'statusCode' => 403,
|
'statusCode' => 401,
|
||||||
],
|
],
|
||||||
Exception::TYPE_PASSWORD_RESET_REQUIRED => [
|
Exception::TYPE_PASSWORD_RESET_REQUIRED => [
|
||||||
'name' => Exception::TYPE_PASSWORD_RESET_REQUIRED,
|
'name' => Exception::TYPE_PASSWORD_RESET_REQUIRED,
|
||||||
|
|
Loading…
Reference in a new issue