Browse Source
Add Webauthn related origins flag to known flags. (#6900)
support pm-30529-webauthn-related-origins flag
pull/6853/head^2
pasarenicu
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
src/config.rs
|
|
|
@ -1048,6 +1048,8 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { |
|
|
|
"anon-addy-self-host-alias", |
|
|
|
"simple-login-self-host-alias", |
|
|
|
"mutual-tls", |
|
|
|
// Webauthn Related Origins
|
|
|
|
"pm-30529-webauthn-related-origins", |
|
|
|
]; |
|
|
|
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(); |
|
|
|
|