Skip to content

Commit 3c1fd13

Browse files
author
Leon Strauss
committed
Merge branch 'fix/challenge-default'
2 parents 17da2da + 3fefc5c commit 3c1fd13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var auth = require('basic-auth');
22
var assert = require('assert');
33

44
function buildMiddleware(options) {
5-
var challenge = options.challenge != undefined ? !!options.challenge : true;
5+
var challenge = options.challenge != undefined ? !!options.challenge : false;
66
var users = options.users || {};
77
var authorizer = options.authorizer || staticUsersAuthorizer;
88
var isAsync = options.authorizeAsync != undefined ? !!options.authorizeAsync : false;

0 commit comments

Comments
 (0)