aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js
index c87ced9..fe1cdb8 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -280,7 +280,8 @@ router.get('/auth/facebook', passport.authenticate('facebook', { scope: ['email'
router.get('/auth/facebook/callback',
passport.authenticate('facebook', {
successRedirect: '/user/user_profile',
- failureRedirect: '/user/signin' }));
+ failureRedirect: '/user/signin',
+ failureFlash: true}));