diff --git a/routes/30-auth.js b/routes/30-auth.js index 8bb44a2..753f257 100644 --- a/routes/30-auth.js +++ b/routes/30-auth.js @@ -178,10 +178,10 @@ module.exports = function(app, config) { // login page. Otherwise, the primary route function function will be called, // which, in this example, will redirect the user to the home page. router.get('/auth/google/callback', - passport.authenticate('google', { failureRedirect: '/login' }), + passport.authenticate('google', { failureRedirect: '/#/login' }), function(req, res) { var user = req.user; - var redirURL = '/finishgauth/'; + var redirURL = '/#/finishgauth/'; redirURL += user.consumer_secret; redirURL += '/' + user.token_secret; redirURL += '/' + user.consumer_key;