diff options
Diffstat (limited to 'config/middlewares')
-rw-r--r-- | config/middlewares/authorization.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |