From ff97bcfdda5a6057a11c295fc85ef674f4d2e42c Mon Sep 17 00:00:00 2001 From: moodejb123 <65937502+moodejb123@users.noreply.github.com> Date: Fri, 16 May 2025 19:52:00 +0300 Subject: [PATCH] Add totp menu feature flag (#5850) --- .env.template | 1 + src/config.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.template b/.env.template index dcccbfd6..9d63fcff 100644 --- a/.env.template +++ b/.env.template @@ -358,6 +358,7 @@ ## - "simple-login-self-host-alias": Enable configuring self-hosted Simple Login alias generator. (Needs Android >=2025.3.0, iOS >=2025.4.0) ## - "mutual-tls": Enable the use of mutual TLS on Android (Client >= 2025.2.0) ## - "export-attachments": Enable support for exporting attachments (Clients >=2025.4.0) +## - "inline-menu-totp": Enable the use of inline menu TOTP codes in the browser extension. # EXPERIMENTAL_CLIENT_FEATURE_FLAGS=fido2-vault-credentials ## Require new device emails. When a user logs in an email is required to be sent. diff --git a/src/config.rs b/src/config.rs index 0eddfb66..3d001417 100644 --- a/src/config.rs +++ b/src/config.rs @@ -847,6 +847,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { "simple-login-self-host-alias", "mutual-tls", "export-attachments", + "inline-menu-totp", ]; 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();