Hello,
This is the first post of me , hope I can help and get help from & to all.
I’m facing this problem
I installed Yii2 Advanced template
and separated (front-end & back-end) users
as in this link : http://www.yiiframework.com/wiki/814/guide-how-to-actually-separate-frontend-user-and-backend-admin-on-yii2-advanced/
also I need to control front-end users
so I add dektrium Yii2 user module to main.php in config folder in the back-end
I replaced ‘user’ by ‘player’
'modules' => [
'player' => [
'class' => 'dektrium\user\Module',
'enableRegistration' => false,
'enableUnconfirmedLogin' => false,
'confirmWithin' => 21600,
'cost' => 12,
'admins' => ['beadmin'],
],
],
sure I override views and replace ‘user’ variables
But when I request
index.php/player/admin
from back-end
I get following error
taking into considration that all things work well when just use ‘user’ instead of ‘player’ in main.php config file
like:
index.php/user/admin
in back-end
and this code
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
'enableRegistration' => false,
'enableUnconfirmedLogin' => false,
'confirmWithin' => 21600,
'cost' => 12,
'admins' => ['beadmin'],
],
],
Hoping I clarified my problem
Best Regards