|
@ -28,7 +28,7 @@ return [ |
|
|
'csrfParam' => '_csrf-api', |
|
|
'csrfParam' => '_csrf-api', |
|
|
], |
|
|
], |
|
|
'user' => [ |
|
|
'user' => [ |
|
|
'identityClass' => 'backend\models\User', |
|
|
|
|
|
|
|
|
'identityClass' => 'common\models\User', |
|
|
'enableAutoLogin' => true, |
|
|
'enableAutoLogin' => true, |
|
|
'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true], |
|
|
'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true], |
|
|
], |
|
|
], |
|
|