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:
parent
9dea15702e
commit
942462983d
1 changed files with 3 additions and 9 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue