We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4589403 commit 3fefc5cCopy full SHA for 3fefc5c
1 file changed
index.js
@@ -2,7 +2,7 @@ var auth = require('basic-auth');
2
var assert = require('assert');
3
4
function buildMiddleware(options) {
5
- var challenge = options.challenge != undefined ? !!options.challenge : true;
+ var challenge = options.challenge != undefined ? !!options.challenge : false;
6
var users = options.users || {};
7
var authorizer = options.authorizer || staticUsersAuthorizer;
8
var isAsync = options.authorizeAsync != undefined ? !!options.authorizeAsync : false;
0 commit comments