Permalink
Browse files

authentifizierung erweitert

  • Loading branch information...
1 parent 50a96a5 commit e6d9c8f1b720e7dc653e900319f8f652e0849d86 Stephan committed Dec 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 server.js
View
@@ -122,9 +122,9 @@ app.listen( port );
app.get('/', ensureAuthenticated, indexRequest);
-app.get('/index', indexRequest);
-app.get('/edit', indexRequest);
-app.get('/overview', indexRequest);
+app.get('/index', ensureAuthenticated, indexRequest);
+app.get('/edit', ensureAuthenticated, indexRequest);
+app.get('/overview', ensureAuthenticated, indexRequest);
app.get('/upload', function indexRequest (req, res){
res.writeHead(200, {'Content-Type': 'text/html'});

0 comments on commit e6d9c8f

Please sign in to comment.