Can't store user identity Yii2
To fix the issue you can do When my user logs in and passes the validation
without errors I have a login function inside my LoginForm.php, which must
save the user in the session. My function looks like this: , try this code
to your models LoginForm.
Date : December 25 2020, 02:31 PM , By : user3075833