Add change password functionality with validation and email notification

This commit is contained in:
Isuru Bimsara
2026-08-21 21:42:19 +05:30
parent 7766614898
commit efb054f54d
3 changed files with 202 additions and 12 deletions
+1
View File
@@ -27,6 +27,7 @@ router.post('/login', authController.login);
router.post('/refresh', authController.refreshToken);
router.post('/forgot-password', authController.forgotPassword);
router.post('/reset-password', authController.resetPassword);
router.post('/change-password', authenticate, authController.changePassword);
router.post('/logout', authController.logout);
module.exports = router;