diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 10:12:12 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 10:12:12 +0200 |
commit | 72de8d59b5ece58183eb65f0707e7fdf4d2d7f28 (patch) | |
tree | 7fc2f8dee73b2850bd977cce3f5db5acd39d3364 /router.js | |
parent | Added accessscema for project access (diff) | |
download | Divid-72de8d59b5ece58183eb65f0707e7fdf4d2d7f28.tar.gz |
you now need to log in to see the dashboard
Diffstat (limited to '')
-rw-r--r-- | router.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ module.exports = function(app, passport, auth) { */ - app.get('/dashboard', system.dashboard); + app.get('/dashboard', auth.requiresLogin, system.dashboard); app.get('/project', auth.requiresLogin, system.project); |