From 9ad158b0ade8611ac42043e9e0e3dfe993e00ad8 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 29 Apr 2013 09:52:09 +0200 Subject: sends to /test temporarily --- config/middlewares/authorization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/middlewares') diff --git a/config/middlewares/authorization.js b/config/middlewares/authorization.js index 440f085..8d822f0 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('/login'); + if (!req.isAuthenticated()) return res.redirect('/test'); next(); } -- cgit v1.2.3