[chore] Reformat
This commit is contained in:
parent
b9375ed7ea
commit
8a95e0a290
|
@ -31,7 +31,7 @@ const basicAuthMiddleware = async function (request, response, callback) {
|
||||||
.toString('utf8')
|
.toString('utf8')
|
||||||
.split(':');
|
.split(':');
|
||||||
|
|
||||||
if (! PER_USER_BASIC_AUTH && username === config.basicAuthUser.username && password === config.basicAuthUser.password) {
|
if (!PER_USER_BASIC_AUTH && username === config.basicAuthUser.username && password === config.basicAuthUser.password) {
|
||||||
return callback();
|
return callback();
|
||||||
} else if (PER_USER_BASIC_AUTH) {
|
} else if (PER_USER_BASIC_AUTH) {
|
||||||
const userHandles = await getAllUserHandles();
|
const userHandles = await getAllUserHandles();
|
||||||
|
|
Loading…
Reference in New Issue