We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 17da2da + 3fefc5c commit 3c1fd13Copy full SHA for 3c1fd13
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