Skip to content

Commit

Permalink
Merge pull request #16 from jjlin/master
Browse files Browse the repository at this point in the history
Hide the `Enterprise Single Sign-On` button on the login page
  • Loading branch information
dani-garcia committed Sep 13, 2020
2 parents 53db4a9 + 498f079 commit 7061e74
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions patches/v2.16.0.patch
Expand Up @@ -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 ****/
Expand All @@ -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; }
+
Expand Down

0 comments on commit 7061e74

Please sign in to comment.