summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-10-19 19:21:00 +0300
committerGitHub <[email protected]>2024-10-19 18:21:00 +0200
commitc967d0ddc1da9a6f2f1bfa869fa27e2039b2eaac (patch)
tree3a99b9eaab8f38f97648a9eac66d537d1397f4dc
parentae6ed0ece8bae45e8ff0e4a473004b54db348e25 (diff)
downloadvaultwarden-c967d0ddc1da9a6f2f1bfa869fa27e2039b2eaac.tar.gz
vaultwarden-c967d0ddc1da9a6f2f1bfa869fa27e2039b2eaac.zip
Add `extension-refresh` feature flag (#5106)
- in case people want to try out the new extension design
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index 1a384701..aa6b1145 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -812,7 +812,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
// TODO: deal with deprecated flags so they can be removed from this list, cf. #4263
const KNOWN_FLAGS: &[&str] =
- &["autofill-overlay", "autofill-v2", "browser-fileless-import", "fido2-vault-credentials"];
+ &["autofill-overlay", "autofill-v2", "browser-fileless-import", "extension-refresh", "fido2-vault-credentials"];
let configured_flags = parse_experimental_client_feature_flags(&cfg.experimental_client_feature_flags);
let invalid_flags: Vec<_> = configured_flags.keys().filter(|flag| !KNOWN_FLAGS.contains(&flag.as_str())).collect();
if !invalid_flags.is_empty() {