Answer the question
In order to leave comments, you need to log in
How to restrict access to the module to the unregistered?
Good day. I am using yii2 advanced. I have a profile module in the frontend folder where only registered users can access. Can you please tell me how to properly restrict access to the entire module and transfer it to the login form when the user is not registered? Thank you all in advance.
Answer the question
In order to leave comments, you need to log in
Good evening.
The first thing I can recommend is to read the documentation.
1) One
2) Two
Well, reading a blog, one of many...
1) One
2) Two
3) Three
In module controllers, as well as in non-module controllers. The same slippers only in profile
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question