Hi,
We have installed latest yii2-webvimark, but it is going in redirect-loop from login to homepage to login to homepage to login page. Not sure what is wrong.
In web.php;
'modules' => [
'user-management' => [
'class' => 'webvimark\modules\UserManagement\UserManagementModule',
// Here you can set your handler to change layout for any controller or action
// Tip: you can use this event in any module
'on beforeAction' => function(yii\base\ActionEvent $event) {
if ($event->action->uniqueId == 'user-management/auth/login') {
$event->action->controller->layout = 'loginLayout.php';
};
},
],
Thanks,
Paresh