From 3438e19cea85ae530afd1535fe0384a8beebec90 Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Fri, 22 Jul 2016 20:30:27 -0400 Subject: Fixed minor issue --- routes/user.js | 2 +- views/signin.hbs | 2 +- views/signup.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/user.js b/routes/user.js index 698c4f8..39b41d2 100644 --- a/routes/user.js +++ b/routes/user.js @@ -56,7 +56,7 @@ router.post('/signup', loggedOut, function(req, res, next) { if (errors) { req.session.errors = errors; req.session.success = false; - res.redirect('/signup'); + res.redirect('/user/signup'); } else { console.log("GOT SUCCESS"); passport.authenticate('local_signup', { diff --git a/views/signin.hbs b/views/signin.hbs index 81d0f81..44425f3 100644 --- a/views/signin.hbs +++ b/views/signin.hbs @@ -34,7 +34,7 @@ - + diff --git a/views/signup.hbs b/views/signup.hbs index 463e347..54464e1 100644 --- a/views/signup.hbs +++ b/views/signup.hbs @@ -62,7 +62,7 @@ - + -- cgit v1.2.3