mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
+ more reused config variable
This commit is contained in:
parent
271266b828
commit
50670c1e6a
@ -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.'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user