Browse Source

Toggle providers using class (#5832)

pull/5871/head
Timshel 2 months ago
committed by GitHub
parent
commit
bf04c64759
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/static/templates/scss/vaultwarden.scss.hbs

4
src/static/templates/scss/vaultwarden.scss.hbs

@ -96,14 +96,14 @@ app-login form div + div + div + div + hr + p {
{{#unless mail_enabled}}
/* Hide `Email` 2FA if mail is not enabled */
app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(1) {
.providers-2fa-1 {
@extend %vw-hide;
}
{{/unless}}
{{#unless yubico_enabled}}
/* Hide `YubiKey OTP security key` 2FA if it is not enabled */
app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(4) {
.providers-2fa-3 {
@extend %vw-hide;
}
{{/unless}}

Loading…
Cancel
Save