mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-22 10:01:55 -04:00
Toggle providers using class (#5832)
This commit is contained in:
parent
2f1d86b7f1
commit
bf04c64759
@ -96,14 +96,14 @@ app-login form div + div + div + div + hr + p {
|
|||||||
|
|
||||||
{{#unless mail_enabled}}
|
{{#unless mail_enabled}}
|
||||||
/* Hide `Email` 2FA if mail is not 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;
|
@extend %vw-hide;
|
||||||
}
|
}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
{{#unless yubico_enabled}}
|
{{#unless yubico_enabled}}
|
||||||
/* Hide `YubiKey OTP security key` 2FA if it is not 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;
|
@extend %vw-hide;
|
||||||
}
|
}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user