Application crash during deserializeUser when user record is missing
Passport.js utilizes the deserializeUser function to retrieve a user object from a data store based on the ID stored in the session. In a production environment using passport-local , a race condition occurs when a user record is deleted from the database while an active session cookie persists in the client's browser. If the data access layer returns null o