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.
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.