From ce70cd2cf4f1faf84ce32266bcc65ca9482a5514 Mon Sep 17 00:00:00 2001 From: Timshel Date: Mon, 14 Jul 2025 22:01:20 +0200 Subject: [PATCH] Hide login form custom fields (#6054) Co-authored-by: Timshel --- src/static/templates/scss/vaultwarden.scss.hbs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/static/templates/scss/vaultwarden.scss.hbs b/src/static/templates/scss/vaultwarden.scss.hbs index a97c0b47..8f86881a 100644 --- a/src/static/templates/scss/vaultwarden.scss.hbs +++ b/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"] {