We can authenticate employees using identityclass feature provided in yii2. What if Admin is not an employee.?
Can we have two identity class in config.php or how to implement such case?
We can authenticate employees using identityclass feature provided in yii2. What if Admin is not an employee.?
Can we have two identity class in config.php or how to implement such case?
Yes , You can create another identity class for admin type user follow below link :