amitmerchant1990 / amitmerchant-dot-com-comments

1 stars 0 forks source link

logout-from-everywhere-except-current-device-laravel/ #107

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Logout from every devices except the currently logged in one in Laravel — Amit Merchant — A blog on PHP, JavaScript, and more

Every robust web app has this feature where you’re provided with a setting through which you can choose to logout from all the devices you’ve been logged in from previously, except the current one. This is certainly a nice security feature that you can provide to your user without them even asking for it and if your app is built on top of Laravel 5.6, this comes out-of-the-box.

https://www.amitmerchant.com/logout-from-everywhere-except-current-device-laravel/

realtebo commented 1 year ago

this simply doesn't work if you don't change password.

But how to have a nice button 'logout from other device' WITHOUT having to change the password ?!