|
|
@@ -57,6 +57,7 @@ fn vaultwarden_css() -> Cached<Css<String>> {
|
|
|
let css_options = json!({
|
|
|
"signup_disabled": !CONFIG.signups_allowed() && CONFIG.signups_domains_whitelist().is_empty(),
|
|
|
"mail_enabled": CONFIG.mail_enabled(),
|
|
|
+ "mail_2fa_enabled": CONFIG._enable_email_2fa(),
|
|
|
"yubico_enabled": CONFIG._enable_yubico() && CONFIG.yubico_client_id().is_some() && CONFIG.yubico_secret_key().is_some(),
|
|
|
"emergency_access_allowed": CONFIG.emergency_access_allowed(),
|
|
|
"sends_allowed": CONFIG.sends_allowed(),
|