disable csrf fix, fix account state javascript

disable csrf in frontend and backend
	reception account_state javascript fix
This commit is contained in:
2015-11-29 20:19:34 +01:00
parent 4935aaa4a2
commit 9962a35059
5 changed files with 13 additions and 6 deletions

View File

@@ -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',