aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-22 04:57:08 +0000
committerHumairAK <humair88@hotmail.com>2016-07-22 04:57:08 +0000
commit05368e45b7d06bb6833577194de62dea7787ef9e (patch)
treed10cc15024367fad67a37496d7f3a9ed0f1314e7 /routes/index.js
parent5c5dc252311ddc47dbd6ea49f24bddeb9990f5fe (diff)
Minor changes in index.js
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js
index 27ae55d..717533b 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -159,7 +159,6 @@ router.get('/signup', function(req, res, next) {
res.render('signup', {csrfToken: req.csrfToken(), success: req.session.success, errors: req.session.errors});
});
-
router.post('/signup', passport.authenticate('local_signup', {
successRedirect: '/user_profile',
failureRedirect: '/signup',