diff options
-rw-r--r-- | routes.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,8 @@ module.exports = function(app, passport, auth) { app.get('/login', users.login); + app.post('/login', passport.authenticate('local', { failureRedirect: '/test' }), users.signin); + app.get('/signup', users.signup); app.post('/signup', users.create); |