feature(package) http-auth v4.1.2

This commit is contained in:
coderaiser 2020-02-03 16:35:50 +02:00
parent 2f6cb2d2ad
commit 59bc7c4cd4
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@
"for-each-key": "^2.0.0",
"format-io": "^2.0.0",
"fullstore": "^2.0.2",
"http-auth": "^3.2.3",
"http-auth": "^4.1.2",
"inly": "^4.0.0",
"jaguar": "^6.0.0",
"jju": "^1.3.0",

View file

@ -21,7 +21,7 @@ function _middle(config, authentication, req, res, next) {
return next();
const success = () => next(/* success */);
authentication.check(req, res, success);
return authentication.check(success)(req, res);
}
function _check(config, username, password, callback) {