Skip to content

Commit

Permalink
Merge branch 'fix/challenge-default'
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Strauss committed Oct 18, 2016
2 parents 17da2da + 3fefc5c commit 3c1fd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var auth = require('basic-auth');
var assert = require('assert');

function buildMiddleware(options) {
var challenge = options.challenge != undefined ? !!options.challenge : true;
var challenge = options.challenge != undefined ? !!options.challenge : false;
var users = options.users || {};
var authorizer = options.authorizer || staticUsersAuthorizer;
var isAsync = options.authorizeAsync != undefined ? !!options.authorizeAsync : false;
Expand Down

0 comments on commit 3c1fd13

Please sign in to comment.