fis header
This commit is contained in:
parent
76377f5f1b
commit
918c24397d
@ -20,10 +20,10 @@ class ProfileController extends \yii\rest\Controller
|
|||||||
'application/json' => \yii\web\Response::FORMAT_JSON,
|
'application/json' => \yii\web\Response::FORMAT_JSON,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'authenticatior' => [
|
// 'authenticatior' => [
|
||||||
'class' => QueryParamAuth::class, //implement access token authentication
|
// 'class' => QueryParamAuth::class, //implement access token authentication
|
||||||
'except' => ['login'], // no need to verify the access token method, pay attention to distinguish between $noAclLogin
|
// 'except' => ['login'], // no need to verify the access token method, pay attention to distinguish between $noAclLogin
|
||||||
],
|
// ],
|
||||||
'corsFilter' => [
|
'corsFilter' => [
|
||||||
'class' => GsCors::class,
|
'class' => GsCors::class,
|
||||||
'cors' => [
|
'cors' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user