1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-03 00:08:10 +00:00

Update supported feature flags

This commit is contained in:
Philipp Kolberg 2023-12-15 23:45:35 +01:00 committed by GitHub
commit 942462983d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -757,17 +757,11 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> {
}
const SUPPORTED_FLAGS: &[&str] = &[
"autofill-overlay",
"autofill-v2",
"browser-fileless-import",
"display-kdf-iteration-warning",
"fido2-vault-credentials",
"trusted-device-encryption",
"passwordless-login",
"autofill-v2",
"autofill-overlay",
"browser-fileless-import",
"item-share",
"flexible-collections",
"flexible-collections-v-1",
"bulk-collection-access",
];
for flag in parse_feature_flags(&cfg.feature_flags).keys() {
if !SUPPORTED_FLAGS.contains(&flag.as_str()) {