Browse Source

Set class component User

dev
keun 6 years ago
parent
commit
07f8b2e132
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common/config/main.php

+ 1
- 0
common/config/main.php View File

@@ -3,6 +3,7 @@ return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'user' => [
'class' => 'yii\web\User',
'identityClass' => 'common\models\User',
'enableAutoLogin' => true,
'identityCookie' => [

Loading…
Cancel
Save