gssoc-extgssoc24hacktoberfesthacktoberfest-acceptedlevel1
Repository metrics
- Stars
- (71 stars)
- PR merge metrics
- (PR metrics pending)
Description
@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