Replace token auth with single-user login

This commit is contained in:
Dymas
2026-05-25 16:30:01 +02:00
parent 8549944be1
commit 1487257bed
8 changed files with 237 additions and 136 deletions
+5 -1
View File
@@ -2269,7 +2269,11 @@ def get_config_snapshot(fallback=None):
def save_runtime_config(config):
normalized = normalize_config(config)
current = get_config_snapshot(fallback=DEFAULT_CONFIG)
merged = dict(current)
if isinstance(config, dict):
merged.update(config)
normalized = normalize_config(merged)
scheduler = None
with RUNTIME_LOCK:
global CONFIG