disable csrf fix, fix account state javascript
disable csrf in frontend and backend reception account_state javascript fix
This commit is contained in:
@@ -15,10 +15,11 @@ return [
|
||||
'modules' => [],
|
||||
'components' => [
|
||||
'request' => [
|
||||
'csrfParam' => '_backendCSRF',
|
||||
'csrfCookie' => [
|
||||
'path' => '/backend/web',
|
||||
],
|
||||
'enableCsrfValidation'=>false,
|
||||
// 'csrfParam' => '_backendCSRF',
|
||||
// 'csrfCookie' => [
|
||||
// 'path' => '/backend/web',
|
||||
// ],
|
||||
],
|
||||
'user' => [
|
||||
'identityClass' => 'common\models\User',
|
||||
|
||||
Reference in New Issue
Block a user