fis header

This commit is contained in:
andrey 2021-08-05 15:45:08 +03:00
parent 76377f5f1b
commit 918c24397d

View File

@ -20,10 +20,10 @@ class ProfileController extends \yii\rest\Controller
'application/json' => \yii\web\Response::FORMAT_JSON,
],
],
'authenticatior' => [
'class' => QueryParamAuth::class, //implement access token authentication
'except' => ['login'], // no need to verify the access token method, pay attention to distinguish between $noAclLogin
],
// 'authenticatior' => [
// 'class' => QueryParamAuth::class, //implement access token authentication
// 'except' => ['login'], // no need to verify the access token method, pay attention to distinguish between $noAclLogin
// ],
'corsFilter' => [
'class' => GsCors::class,
'cors' => [