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

'vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [ 'components' => [
'user' => [ 'user' => [
'class' => 'yii\web\User',
'identityClass' => 'common\models\User', 'identityClass' => 'common\models\User',
'enableAutoLogin' => true, 'enableAutoLogin' => true,
'identityCookie' => [ 'identityCookie' => [

Loading…
Cancel
Save