mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(package) http-auth v4.1.2
This commit is contained in:
parent
2f6cb2d2ad
commit
59bc7c4cd4
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue