+ more reused config variable

This commit is contained in:
Cohee 2024-03-30 22:52:57 +02:00
parent 271266b828
commit 50670c1e6a
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ async function loadPlugins() {
}
}
if (listen && !getConfigValue('whitelistMode', true) && !getConfigValue('basicAuthMode', false)) {
if (listen && !getConfigValue('whitelistMode', true) && !basicAuthMode) {
if (getConfigValue('securityOverride', false)) {
console.warn(color.red('Security has been overridden. If it\'s not a trusted network, change the settings.'));
}