Skip to content

Commit 1679b8a

Browse files
committed
Added reset password for user
1 parent 59008be commit 1679b8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/routes/user.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ router.post("/signup", UserController.user_signup);
88

99
router.post("/login", UserController.user_login);
1010

11+
router.patch("/reset_password/:userId", checkAuth, UserController.user_reset_password);
12+
1113
router.delete("/:userId", checkAuth, UserController.user_delete);
1214

1315
module.exports = router;

0 commit comments

Comments
 (0)