1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-09 21:23:58 +00:00

Toggle providers using class

This commit is contained in:
Timshel 2025-05-05 17:38:47 +02:00
parent 2697fe8aba
commit b6f0528bcc

View file

@ -112,14 +112,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}}