Implement password reset and change features with email notifications
This commit is contained in:
@@ -25,6 +25,8 @@ router.get("/me", authenticate, (req, res) => {
|
||||
router.post('/req-otp', authController.loginReq);
|
||||
router.post('/login', authController.login);
|
||||
router.post('/refresh', authController.refreshToken);
|
||||
router.post('/forgot-password', authController.forgotPassword);
|
||||
router.post('/reset-password', authController.resetPassword);
|
||||
router.post('/logout', authController.logout);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user