Fix hide create account link

Signed-off-by: BlackDex <black.dex@gmail.com>
pull/5219/head
BlackDex 1 week ago
parent b0920a621c
commit a85c9e0645
No known key found for this signature in database
GPG Key ID: 58C80A2AA6C765E1

@ -94,34 +94,35 @@ bit-nav-logo bit-nav-item .bwi-shield {
/**** START Dynamic Vaultwarden Changes ****/ /**** START Dynamic Vaultwarden Changes ****/
{{#if signup_disabled}} {{#if signup_disabled}}
/* Hide the register link on the login screen */ /* Hide the register link on the login screen */
app-login form p { app-login form div + div + div + div + hr,
app-login form div + div + div + div + hr + p {
@extend %vw-hide; @extend %vw-hide;
} }
{{/if}} {{/if}}
/* Hide `Email` 2FA if mail is not enabled */
{{#unless mail_enabled}} {{#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) { app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(1) {
@extend %vw-hide; @extend %vw-hide;
} }
{{/unless}} {{/unless}}
/* Hide `YubiKey OTP security key` 2FA if it is not enabled */
{{#unless yubico_enabled}} {{#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) { app-two-factor-setup ul.list-group.list-group-2fa li.list-group-item:nth-child(4) {
@extend %vw-hide; @extend %vw-hide;
} }
{{/unless}} {{/unless}}
/* Hide Emergency Access if not allowed */
{{#unless emergency_access_allowed}} {{#unless emergency_access_allowed}}
/* Hide Emergency Access if not allowed */
bit-nav-item[route="settings/emergency-access"] { bit-nav-item[route="settings/emergency-access"] {
@extend %vw-hide; @extend %vw-hide;
} }
{{/unless}} {{/unless}}
/* Hide Sends if not allowed */
{{#unless sends_allowed}} {{#unless sends_allowed}}
/* Hide Sends if not allowed */
bit-nav-item[route="sends"] { bit-nav-item[route="sends"] {
@extend %vw-hide; @extend %vw-hide;
} }

Loading…
Cancel
Save