Disable 2FA email setup button if email 2FA is disabled in admin settings #6025
OldScratchy
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
|
Seems like we only disable it if email is disabled: vaultwarden/src/static/templates/scss/vaultwarden.scss.hbs Lines 121 to 126 in 3b48e6e I'll see if I can create PR to fix this but in the meantime you can disable it yourself via CSS by creating a file called .providers-2fa-1 {
extendend %vw-hide;
} |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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✨)
Version: 1.33.2
Beta Was this translation helpful? Give feedback.
All reactions