Add Forgot your password routes
This commit is contained in:
2
app.js
2
app.js
@ -79,6 +79,8 @@ app.use(express.errorHandler());
|
|||||||
app.get('/', homeController.index);
|
app.get('/', homeController.index);
|
||||||
app.get('/login', userController.getLogin);
|
app.get('/login', userController.getLogin);
|
||||||
app.post('/login', userController.postLogin);
|
app.post('/login', userController.postLogin);
|
||||||
|
app.get('/login/forgot', userController.getForgotPassword);
|
||||||
|
app.post('/login/forgot', userController.postForgotPassword);
|
||||||
app.get('/logout', userController.logout);
|
app.get('/logout', userController.logout);
|
||||||
app.get('/signup', userController.getSignup);
|
app.get('/signup', userController.getSignup);
|
||||||
app.post('/signup', userController.postSignup);
|
app.post('/signup', userController.postSignup);
|
||||||
|
Reference in New Issue
Block a user