diff --git a/src/config.rs b/src/config.rs index e99a90c..f037af6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1070,7 +1070,9 @@ impl Config { .get("password") .map_or(false, |v| v == password) { - return; + if CONFIG.read().unwrap().password.is_empty() { + return; + } } let mut config = CONFIG.write().unwrap(); if password == config.password {