1
Disable 2FA email setup button if email 2FA is disabled in admin settings
Source: dani-garcia/vaultwarden#6025 · opened by @OldScratchy
I have a Vaultwarden instance and I noticed that the option to configure Two-Factor Authentication (2FA) via email is still visible and clickable from the user interface, even when this feature is disabled in the admin configuration.
When attempting to set it up, the system correctly shows an error message indicating that email 2FA is disabled. However, it would be a much better user experience if the email 2FA configuration option appeared grayed out or was otherwise marked as unavailable when the feature is turned off at the server level.
This change would improve clarity and reduce confusion for end users who might wonder why the option exists if it's not usable!
Thank you for your time! (VW is awesome✨)

![admin-option](
![vault](
Version: 1.33.2
No pledges yet. Be the first to back this.
Comments
Similar requests
Additional configuration for hardening 2FA
2 votes · 0 comments
Prevent registration-process for new users when disabled
1 vote · 0 comments
Default 2FA email for new users invited to organizations with 2FA-policy enabled
11 votes · 0 comments
Show notification and force if 2FA is required when first login
1 vote · 0 comments
2FA for web extension
2 votes · 0 comments
No comments yet.