gssoc-extgssoc24hacktoberfesthacktoberfest-acceptedlevel1
Metriche repository
- Star
- (71 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
@GarimaSingh0109 ###BACKEND ###` AUTH_CONTROLLER.js
1.In the logout function, there's a typo error i.e. res.stats(400) should be res.status(400). 2. Status Codes for Errors: In the signIn function, you are returning( success: true )when credentials are invalid. i think it should be ( success: false). 3. also if instead of (httponly) you can also go for (secure:true ) if not using https as it may cause issue in the local invironment