mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Удалён никому ненужный SiteController
This commit is contained in:
@@ -11,6 +11,7 @@ return [
|
||||
'basePath' => dirname(__DIR__),
|
||||
'bootstrap' => ['log'],
|
||||
'controllerNamespace' => 'api\controllers',
|
||||
'params' => $params,
|
||||
'components' => [
|
||||
'user' => [
|
||||
'identityClass' => \api\models\AccountIdentity::class,
|
||||
@@ -26,9 +27,6 @@ return [
|
||||
],
|
||||
],
|
||||
],
|
||||
'errorHandler' => [
|
||||
'errorAction' => 'site/error',
|
||||
],
|
||||
'request' => [
|
||||
'baseUrl' => '/api',
|
||||
],
|
||||
@@ -38,7 +36,7 @@ return [
|
||||
'rules' => require __DIR__ . '/routes.php',
|
||||
],
|
||||
'reCaptcha' => [
|
||||
'class' => 'api\components\ReCaptcha\Component',
|
||||
'class' => \api\components\ReCaptcha\Component::class,
|
||||
],
|
||||
'response' => [
|
||||
'format' => \yii\web\Response::FORMAT_JSON,
|
||||
@@ -48,5 +46,4 @@ return [
|
||||
'grantTypes' => ['authorization_code'],
|
||||
],
|
||||
],
|
||||
'params' => $params,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user