I’ve read an article, which shows how to redirect to a specified login page. However, what I want is if user comes to frontend, they should be redirected to frontend-login-page and the similar is applied to backend. Is it possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way should be to determine in a user value as needed
or
and redirect inside your controller: