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:
parent
edf7484a70
commit
e30fbc6dfc
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue