Laravel 5 - Logout a user from all of his devices
问题 A user is logged in. And he's also already logged in in 3 different computers. Now user changes his password. I want to do something to log him out from all of his devices. By default if we change password in one device, nothing happens on other devices. The first thing that comes in mind is to check password in a middle-ware (every request) which is not good and decreases performance significantly. How can I do this in Laravel 5? AND what is the best way to do this? How does big sites logout