From 325b8841eaf0d620f0e09e675195ab6df6d724c6 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 22 Mar 2026 11:35:28 +0800 Subject: [PATCH] fix(password): remove has_local_permanent_password Signed-off-by: fufesou --- src/config.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config.rs b/src/config.rs index 3c21425be..e54c675f0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1381,10 +1381,6 @@ impl Config { .map_or(false, |v| !v.is_empty()) } - pub fn has_local_permanent_password() -> bool { - !CONFIG.read().unwrap().password.is_empty() - } - pub fn set_salt(salt: &str) { let mut config = CONFIG.write().unwrap(); if salt == config.salt {