From f3ec4f487eb96422081c60a9f00b902503bc47de Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 24 May 2013 16:49:07 +0200 Subject: no longer redirect to /test on failurewq --- config/middlewares/authorization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/middlewares/authorization.js') diff --git a/config/middlewares/authorization.js b/config/middlewares/authorization.js index 8d822f0..b881a3d 100644 --- a/config/middlewares/authorization.js +++ b/config/middlewares/authorization.js @@ -5,7 +5,7 @@ */ exports.requiresLogin = function(req, res, next) { - if (!req.isAuthenticated()) return res.redirect('/test'); + if (!req.isAuthenticated()) return res.redirect('/'); next(); } -- cgit v1.2.3