[chore] Reformat

This commit is contained in:
Cohee 2024-10-09 01:38:32 +03:00
parent b9375ed7ea
commit 8a95e0a290
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const basicAuthMiddleware = async function (request, response, callback) {
.toString('utf8')
.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();
} else if (PER_USER_BASIC_AUTH) {
const userHandles = await getAllUserHandles();