prosper20 / everything-gadget

E-commerce API
https://everything-gadget-production.up.railway.app/api/v1
0 stars 0 forks source link

implementing forgot password #12

Closed prosper20 closed 1 year ago

prosper20 commented 1 year ago

Added two new routes: /forgotPassword, and /resetPassword/:token Implemented deleteUserProfle on the /profile route. Refactored auth.js middleware and patchUserProfle function inline with security best practices Included confirm password field to sign up, inline with the product design on figma Sending jwt to client via cookie.