Deleted Users

Managing Inactive User Sessions
πŸ‘¨β€πŸ’Ό In the root route of our app, we're loading the user based on the userId that's found in the session. But if no user is found then something weird is going on (most likely, the user account was deleted). So let's redirect the user to the home page and unset the userId in the session while we're at it.

Please set the playground first

Loading "Deleted Users"
Loading "Deleted Users"

Access Denied

You must login or register for the workshop to view the diff.

Check out this video to see how the diff tab works.

Epic Workshop Diff Tab Demo