1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-21 17:12:41 +00:00

err on invalid feature flag

This commit is contained in:
Stefan Melmuk 2024-01-21 12:41:58 +01:00
commit e30fbc6dfc
No known key found for this signature in database
GPG key ID: 817020C608FE9C09

View file

@ -782,7 +782,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
&["autofill-overlay", "autofill-v2", "browser-fileless-import", "fido2-vault-credentials"];
for flag in parse_experimental_client_feature_flags(&cfg.experimental_client_feature_flags).keys() {
if !KNOWN_FLAGS.contains(&flag.as_str()) {
warn!("The experimental client feature flag {flag:?} is unrecognized. Please ensure the feature flag is spelled correctly and that it is supported in this version.");
err!("The experimental client feature flag {flag:?} is unrecognized. Please ensure the feature flag is spelled correctly and that it is supported in this version.");
}
}