aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-30 10:12:12 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-30 10:12:12 +0200
commit72de8d59b5ece58183eb65f0707e7fdf4d2d7f28 (patch)
tree7fc2f8dee73b2850bd977cce3f5db5acd39d3364 /router.js
parentAdded accessscema for project access (diff)
downloadDivid-72de8d59b5ece58183eb65f0707e7fdf4d2d7f28.tar.gz
you now need to log in to see the dashboard
Diffstat (limited to '')
-rw-r--r--router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/router.js b/router.js
index b67f03a..ae94779 100644
--- a/router.js
+++ b/router.js
@@ -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);