Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgarcia committed Jul 13, 2012
1 parent 89353b2 commit fc4654a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/http/index.js
Expand Up @@ -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'));
Expand Down

0 comments on commit fc4654a

Please sign in to comment.