Answer the question
In order to leave comments, you need to log in
Authorization in yii2 reset old sessions?
Hello! In a project on yii2, I changed the user's password, but the system does not throw me out, and lets me in according to the old data. How can I make the system ask for a password in this case?
Answer the question
In order to leave comments, you need to log in
Store the session in the database, crash the record when the password is changed
From my login there was an unknown count. of people. I will not force everyone to press logout
If you use modules, look additionally at the AuthKey parameter, you need to re-create it so that authorization fails.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question