How to set login/password on module

Hi, everybody

I’m not proficient in Yii 2. How to set login/password on my admin module?

Are you installed basic ou advanced application?


You can use the same interface the come with the login in your app.

Move these models (LoginForm and User), views and controllers to your module, change the namespaces and some littles changes. I did it once.

I put all methots that control the login/logout in DefaultController.php.