Добавлен кастомный ErrorHandler для форматирования ошибок authserver'а в соответствии с ожиданиями лаунчера

This commit is contained in:
ErickSkrauch
2016-08-31 13:32:14 +03:00
parent 9c658f5bd9
commit 66e266692c
3 changed files with 33 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ return [
'class' => \common\components\oauth\Component::class,
'grantTypes' => ['authorization_code'],
],
'errorHandler' => [
'class' => \api\components\ErrorHandler::class,
],
],
'modules' => [
'authserver' => [