feat: allow password protection to be disabled (#1201)

Thanks @Odonno!
This commit is contained in:
David Bottiau authored and GitHub committed 2026-06-15 17:01:01 +08:00
1 parent e0d481cc2e
commit 921dff5ffe
3 files changed
+19 -2

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ pub struct LoginRateLimit {
pub struct WebState {
pub app: Arc<AppState>,
pub data_dir: PathBuf,
pub password_disabled: bool,
pub password_hash: RwLock<Option<String>>,
pub sessions: RwLock<HashSet<String>>,
pub sse_channels: RwLock<HashMap<String, broadcast::Sender<String>>>,