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"
Login to get access to the exclusive discord channel.
Loading Discord Posts