Browse Source

Hide login form custom fields (#6054)

Co-authored-by: Timshel <timshel@480s>
main
Timshel 1 week ago
committed by GitHub
parent
commit
ce70cd2cf4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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;
}
/* Hide the sso `Email` input field */
.vw-email-sso {
@extend %vw-hide;
}
/* Hide the `Enterprise Single Sign-On` button on the login page */
{{#if (webver ">=2025.5.1")}}
.vw-sso-login {
@ -57,6 +62,11 @@ app-root ng-component > form > div:nth-child(1) > div:nth-child(3) > div:nth-chi
}
{{/if}}
/* Hide the `Other` button on the login page */
.vw-other-login {
@extend %vw-hide;
}
/* Hide Two-Factor menu in Organization settings */
bit-nav-item[route="settings/two-factor"],
a[href$="/settings/two-factor"] {

Loading…
Cancel
Save