Add Forgot your password routes

This commit is contained in:
Sahat Yalkabov
2014-01-28 18:58:37 -05:00
parent 12ee6a6b9d
commit cecba541a7

2
app.js
View File

@ -79,6 +79,8 @@ app.use(express.errorHandler());
app.get('/', homeController.index);
app.get('/login', userController.getLogin);
app.post('/login', userController.postLogin);
app.get('/login/forgot', userController.getForgotPassword);
app.post('/login/forgot', userController.postForgotPassword);
app.get('/logout', userController.logout);
app.get('/signup', userController.getSignup);
app.post('/signup', userController.postSignup);