Answer the question
In order to leave comments, you need to log in
Question on AccessControl?
Hello. If you allow access to the action only for the user who is logged in, so if the user who is not logged in wants to go to this action, he will be redirected to the login page, the question is where to specify where he will be redirected in this case?
Answer the question
In order to leave comments, you need to log in
'user'=>array(
'loginUrl'=>'/user/login',
),
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question