I am noob Yii developer and I have AdminController with access rules. So this controller is enabled for only specific users, else it redirects to “example.com/site/login” but I need that it redirected to “example.com/user/login” . So can you tell me how to do this?
Share
You can change the
loginUrlproperty of the user component, so make the following change in your main.php config file:Read this part in the guide.