aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/router.js
diff options
context:
space:
mode:
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);