GarimaSingh0109/Resum-Resume

## Backend issue

Open

#599 aperta il 14 ott 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)HTML (220 fork)auto 404
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

Guida contributor