if logged in, redirect to /

master
Matt Huntington 9 years ago
parent 1967e7a9dc
commit 55846fa65c

@ -15,7 +15,7 @@ controller.post('/', function(req, res){
} }
}).then(function(foundUser){ }).then(function(foundUser){
req.session.currentUser = foundUser; req.session.currentUser = foundUser;
res.redirect('/app.html'); res.redirect('/');
}); });
}); });

Loading…
Cancel
Save