You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The login route returns req.user directly to the client. The Mongoose User object includes the hashed password field. The response should omit sensitive fields (password, __v) before sending to the client.
The login route returns req.user directly to the client. The Mongoose User object includes the hashed password field. The response should omit sensitive fields (password, __v) before sending to the client.