mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 02:47:52 +01:00
[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…
x
Reference in New Issue
Block a user