Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
infoweb-internet-solutions committed Mar 11, 2015
1 parent 146aa43 commit ca6ac38
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,29 @@ return [
'media' => [
'class' => 'infoweb\cms\Module',
],
'user' => [
'class' => 'dektrium\user\Module',
'enableUnconfirmedLogin' => true,
'confirmWithin' => 21600,
'cost' => 12,
'admins' => ['infoweb', 'admin'],
'modelMap' => [
'User' => 'infoweb\user\models\User',
'UserSearch' => 'infoweb\user\models\UserSearch',
'Profile' => 'infoweb\user\models\Profile',
'WebUser' => 'infoweb\user\models\WebUser',
],
'controllerMap' => [
'admin' => 'infoweb\user\controllers\AdminController',
'settings' => 'infoweb\user\controllers\SettingsController',
],
'modules' => [
// Register the custom module as a submodule
'infoweb-user' => [
'class' => 'infoweb\user\Module'
]
]
],
],
...
'components' => [
Expand Down

0 comments on commit ca6ac38

Please sign in to comment.