Answer the question
In order to leave comments, you need to log in
Yii2, how to implement different personal accounts, user and provider?
Good afternoon. Can you tell me how to implement different personal accounts during registration? Let's say a user can register as a supplier, or maybe as a user and so that they have different personal accounts.
Answer the question
In order to leave comments, you need to log in
RBAC.
www.yiiframework.com/doc-2.0/guide-security-author...
Different roles, check the role in the controller, load different templates.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question