From 8a95e0a2909242bfa0a768a7cf43462ba191e662 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:38:32 +0300 Subject: [PATCH] [chore] Reformat --- src/middleware/basicAuth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/basicAuth.js b/src/middleware/basicAuth.js index 6ab40af88..4022132a0 100644 --- a/src/middleware/basicAuth.js +++ b/src/middleware/basicAuth.js @@ -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();