diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 09:52:09 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-29 09:52:09 +0200 |
commit | 9ad158b0ade8611ac42043e9e0e3dfe993e00ad8 (patch) | |
tree | d66938f9cb7325a1dcf69510350e54bc2be9b1b4 /config/middlewares/authorization.js | |
parent | fixed small typo-bug (diff) | |
download | Divid-9ad158b0ade8611ac42043e9e0e3dfe993e00ad8.tar.gz |
sends to /test temporarily
Diffstat (limited to '')
-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(); } |