From 498f079bad2d50f592031e47680d9ee6b5e317c0 Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Fri, 11 Sep 2020 23:25:45 -0700 Subject: [PATCH] Hide the `Enterprise Single Sign-On` button on the login page bitwarden_rs doesn't currently support the new upstream SSO functionality, but showing the button would probably give the impression that it does. --- patches/v2.16.0.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patches/v2.16.0.patch b/patches/v2.16.0.patch index 4bc0b41..4ae649a 100644 --- a/patches/v2.16.0.patch +++ b/patches/v2.16.0.patch @@ -74,10 +74,10 @@ index 5560c476..a9b954a8 100644 this.ngZone.run(() => { this.u2fListening = false; diff --git a/src/scss/styles.scss b/src/scss/styles.scss -index 676e275f..ba9888fc 100644 +index 676e275f..ab3304af 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss -@@ -1,5 +1,31 @@ +@@ -1,5 +1,34 @@ @import "../css/webfonts.css"; +/**** START Bitwarden_RS CHANGES ****/ @@ -93,6 +93,9 @@ index 676e275f..ba9888fc 100644 +/* Hide any link pointing to subscriptions */ +a[href$="/settings/subscription"] { @extend %bwrs-hide; } + ++/* Hide the `Enterprise Single Sign-On` button on the login page */ ++a[href$="/sso"] { @extend %bwrs-hide; } ++ +/* Hide Two-Factor menu in Organization settings */ +app-org-settings a[href$="/settings/two-factor"] { @extend %bwrs-hide; } +