Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Laravel now includes the useful logoutOtherDevices method on the SessionGuard class (auth()->logoutOtherDevices()). This means, with ease, you can invalidate all other sessions for a user's account. One use-case for this is ensuring that multiple people cannot log in and access the same account simultaneously. For a second example, maybe a user accidentally signed into their account on a library computer, but forgot to logout. No problem; you can offer the functionality to click a button and instantly invalidate that library session.

Published on Apr 16th, 2018.

Episodes

    1. EPISODE 2 4:34 Free
    2. EPISODE 3 1:55 Free
    3. EPISODE 4 2:55 Free
    4. EPISODE 6 3:13 Free
    5. EPISODE 7 5:00 Free
    6. EPISODE 8 1:42 Free
Back to Series Button