Answer the question
In order to leave comments, you need to log in
Authentication in Yii?
The network is full of examples, but for some reason only code is given everywhere and nowhere is it said about the database. For example, if you use the method described here . Standard authentication via CUserIdentity. What should be in the database for everything to work? What should the table be called? What fields should it contain?
And everywhere the process of authenticating a registered user is described, but how to organize the registration itself? Adding data to the database.
Answer the question
In order to leave comments, you need to log in
Good morning.
Everything is covered in this article.
And in this whole lecture for four hours on authorization, authentication and rbac.
The Advanced template implements full registration with the creation of a table and password recovery via mail.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question