mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-26 04:18:15 +03:00
Hide 2FA link in org and hide non functional 2FA buttons
This commit is contained in:
parent
3f7b5c18e9
commit
e122913319
1 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
index 90aad7df..95ceff61 100644
|
||||
--- a/src/app/services/services.module.ts
|
||||
+++ b/src/app/services/services.module.ts
|
||||
@@ -120,20 +120,16 @@ const notificationsService = new NotificationsService(userService, syncService,
|
||||
|
@ -25,15 +26,25 @@
|
|||
apiService.setUrls({
|
||||
base: isDev ? null : window.location.origin,
|
||||
api: isDev ? 'http://localhost:4000' : null,
|
||||
index 5c114af5..70e7cb12 100644
|
||||
--- a/src/scss/styles.scss
|
||||
+++ b/src/scss/styles.scss
|
||||
@@ -1,5 +1,14 @@
|
||||
@@ -1,5 +1,23 @@
|
||||
@import "../css/webfonts.css";
|
||||
|
||||
+/**** START Bitwarden_RS CHANGES ****/
|
||||
+/* Hide any link pointing to billing */
|
||||
+a[href$="/settings/billing"] {display: none !important; }
|
||||
+
|
||||
+/* Hide Two-Factor menu in Organization settings */
|
||||
+app-org-settings a[href$="/settings/two-factor"] { display: none !important; }
|
||||
+
|
||||
+/* Hide 2FA Duo button */
|
||||
+ul.list-group.list-group-2fa > li:nth-child(3) button { display: none !important; }
|
||||
+
|
||||
+/* Hide 2FA Email button */
|
||||
+ul.list-group.list-group-2fa > li:nth-child(5) button { display: none !important; }
|
||||
+
|
||||
+/* Hide organization plans */
|
||||
+app-create-organization > form > div.form-check { display: none !important; }
|
||||
+app-create-organization > form > h2.mt-5 { display: none !important; }
|
||||
|
|
Loading…
Reference in a new issue