Hi, everybody
I’m not proficient in Yii 2. How to set login/password on my admin 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?
Basic
You can use the same interface the come with the login in your app.http://www.yiiframework.com/doc-2.0/yii-web-user.html
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.