Skip to content

Commit

Permalink
Redirect user to homepage on successful login
Browse files Browse the repository at this point in the history
  • Loading branch information
tostartpressanykey committed Feb 26, 2015
1 parent fa8cace commit c5eef31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/index.js
Expand Up @@ -69,7 +69,7 @@ module.exports = function(passport){
passport.authenticate('google', { failureRedirect: '/login' }),
function(req, res) {
// Successful authentication, redirect home.
res.redirect('/');
res.redirect('/home');
});


Expand Down

0 comments on commit c5eef31

Please sign in to comment.