Permalink
Browse files

.

  • Loading branch information...
1 parent 89353b2 commit fc4654a7acc3456612530d69b77468f8b04d96f1 @rgarcia rgarcia committed Jul 13, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/http/index.js
View
@@ -65,10 +65,6 @@ app.post('/job', provides('json'), express.bodyParser(), json.createJob);
// routes
-var auth = function(req, res, next) {
- if (!app.settings.auth) return next();
- express.basicAuth(app.settings.auth[0], app.settings.auth[1])(req,res,next);
-}
app.get('/', auth, routes.jobs('active'));
app.get('/active', auth, routes.jobs('active'));
app.get('/inactive', auth, routes.jobs('inactive'));

0 comments on commit fc4654a

Please sign in to comment.