Replace token auth with single-user login
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user