mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 07:14:04 +00:00
Clear useless code
This commit is contained in:
parent
d32ba7cadd
commit
71af08189e
1 changed files with 0 additions and 7 deletions
|
@ -47,13 +47,6 @@ function myAuthorizer(username, password, callback) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* If disabled auth, it does not call `next`.
|
|
||||||
*/
|
|
||||||
exports.checkBasicAuth = async (req, res, next) => {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
exports.basicAuth = async function (req, res, next) {
|
exports.basicAuth = async function (req, res, next) {
|
||||||
const middleware = basicAuth({
|
const middleware = basicAuth({
|
||||||
authorizer: myAuthorizer,
|
authorizer: myAuthorizer,
|
||||||
|
|
Loading…
Reference in a new issue