Hi guys,
I have a password reset form where the user also gets a new auth_key for his cookie revalidation.
How should I delete the old cookie and write a new identity cookie when I change the auth_key?
Is using Yii::$app->user->switchIdentity($user)
and providing the same user identity again the right way?
Thanks for your help!