Commit 9eaaca9dc5ac848bebb214864803d0b37f1f765c
1 parent
cd6a0e39
image size
Showing
3 changed files
with
7 additions
and
4 deletions
Show diff stats
backend/config/main.php
common/config/main.php
frontend/config/main.php
... | ... | @@ -12,6 +12,9 @@ return [ |
12 | 12 | 'bootstrap' => ['log'], |
13 | 13 | 'controllerNamespace' => 'frontend\controllers', |
14 | 14 | 'components' => [ |
15 | + 'authManager' => [ | |
16 | + 'class' => 'yii\rbac\DbManager', | |
17 | + ], | |
15 | 18 | 'user' => [ |
16 | 19 | 'identityClass' => 'common\models\Customer', |
17 | 20 | 'enableAutoLogin' => true, | ... | ... |