Skip to content

Commit

Permalink
added authManager cache
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Aug 31, 2018
1 parent 2aeadf5 commit 749067e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
'authManager' => [
'class' => \dektrium\rbac\components\DbManager::class,
'defaultRoles' => ['Default'],
'cache' => 'cache'
],
'cache' => getenv('APP_NO_CACHE') ? null : [
'class' => \yii\redis\Cache::class,
Expand Down

0 comments on commit 749067e

Please sign in to comment.