diff --git a/src/routes/authentication.js b/src/routes/authentication.js index 39b0a7f51a..c22134d176 100644 --- a/src/routes/authentication.js +++ b/src/routes/authentication.js @@ -150,7 +150,7 @@ })); app.get(strategy.callbackURL, passport.authenticate(strategy.name, { - successRedirect: nconf.get('relative_path) + '/', + successRedirect: nconf.get('relative_path') + '/', failureRedirect: nconf.get('relative_path') + '/login' })); }