From 55846fa65c68f7218f6799a02e3d01fdbcbd3c52 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 17 Aug 2016 16:17:58 -0400 Subject: [PATCH] if logged in, redirect to / --- controllers/logins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/logins.js b/controllers/logins.js index d7c5c6f..db62da7 100644 --- a/controllers/logins.js +++ b/controllers/logins.js @@ -15,7 +15,7 @@ controller.post('/', function(req, res){ } }).then(function(foundUser){ req.session.currentUser = foundUser; - res.redirect('/app.html'); + res.redirect('/'); }); });