implement the actual resetting endpoint

This commit is contained in:
Arjun Patel
2019-05-13 01:16:56 -07:00
parent c4dd7cd1fa
commit c657b2b9c5
5 changed files with 163 additions and 96 deletions
+1 -1
View File
@@ -14,6 +14,6 @@ router.post('/org/login', auth.orgLogin);
router.get('/resetpassword', auth.resetPasswordEmail);
// Reset password for either donor or charity after verifying code
router.post('/resetpassword', auth.resetPasswordEmail);
router.post('/resetpassword', auth.resetPassword);
module.exports = router;