Browse Source

Set class component User

refactoring
keun 6 years ago
parent
commit
fd523f3cc5
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' => 'common\models\User',
'identityClass' => 'common\models\User', 'identityClass' => 'common\models\User',
'enableAutoLogin' => true, 'enableAutoLogin' => true,
'identityCookie' => [ 'identityCookie' => [

Loading…
Cancel
Save