Compare commits

..

2 Commits

Author SHA1 Message Date
Ferdinand Schober
42521a1997 only alert on actual error 2025-03-22 22:12:17 +01:00
Ferdinand Schober
6e66f47887 ask the user to accept unauthorized devices 2025-03-22 21:56:13 +01:00

View File

@@ -51,7 +51,7 @@ struct ConfigToml {
port: Option<u16>,
release_bind: Option<Vec<scancode::Linux>>,
cert_path: Option<PathBuf>,
clients: Option<Vec<TomlClient>>,
clients: Vec<TomlClient>,
authorized_fingerprints: Option<HashMap<String, String>>,
}
@@ -370,7 +370,6 @@ impl Config {
self.config_toml
.as_ref()
.map(|c| c.clients.clone())
.unwrap_or_default()
.into_iter()
.flatten()
.map(From::<TomlClient>::from)