Browse Source

Hide login form custom fields

pull/6054/head
Timshel 2 weeks ago
parent
commit
7383b65f12
  1. 10
      src/static/templates/scss/vaultwarden.scss.hbs

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

@ -20,6 +20,11 @@ a[href$="/settings/sponsored-families"] {
@extend %vw-hide; @extend %vw-hide;
} }
/* Hide the sso `Email` input field */
.vw-email-sso {
@extend %vw-hide;
}
/* Hide the `Enterprise Single Sign-On` button on the login page */ /* Hide the `Enterprise Single Sign-On` button on the login page */
{{#if (webver ">=2025.5.1")}} {{#if (webver ">=2025.5.1")}}
.vw-sso-login { .vw-sso-login {
@ -57,6 +62,11 @@ app-root ng-component > form > div:nth-child(1) > div:nth-child(3) > div:nth-chi
} }
{{/if}} {{/if}}
/* Hide the `Other` button on the login page */
.vw-other-login {
@extend %vw-hide;
}
/* Hide Two-Factor menu in Organization settings */ /* Hide Two-Factor menu in Organization settings */
bit-nav-item[route="settings/two-factor"], bit-nav-item[route="settings/two-factor"],
a[href$="/settings/two-factor"] { a[href$="/settings/two-factor"] {

Loading…
Cancel
Save