initial flow of sending email
This commit is contained in:
@@ -10,4 +10,10 @@ router.post('/donor/login', auth.donorLogin);
|
||||
// Check database for org and get token with org role
|
||||
router.post('/org/login', auth.orgLogin);
|
||||
|
||||
// Code and send email for reset password
|
||||
router.get('/resetpassword', auth.resetPasswordEmail);
|
||||
|
||||
// Reset password for either donor or charity after verifying code
|
||||
router.post('/resetpassword', auth.resetPasswordEmail);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user