How can I log out of all other sessions of a user at a single time, preserving only the current session?
I want to apply this behavior when resetting the user's password. By default Laravel keeps old sessions valid even after the user changes their password, this can be a problem if the purpose of the user is to prevent access from third parties who may have "acquired" their password.
Note: I'm using Laravel 5.6