hide duckduckgo forwarding service

it is CORS protected and does not work for self-hosted environments.
This commit is contained in:
Stefan Melmuk 2022-10-20 08:56:37 +02:00
parent e112a9caa6
commit 9a19da9eb9
No known key found for this signature in database
GPG key ID: 817020C608FE9C09

View file

@ -200,10 +200,10 @@ index c9d6b5903..3fccac199 100644
// eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe // eslint-disable-next-line rxjs-angular/prefer-takeuntil, rxjs/no-async-subscribe
this.route.queryParams.pipe(first()).subscribe(async (params) => { this.route.queryParams.pipe(first()).subscribe(async (params) => {
diff --git a/apps/web/src/scss/styles.scss b/apps/web/src/scss/styles.scss diff --git a/apps/web/src/scss/styles.scss b/apps/web/src/scss/styles.scss
index dc1c740b4..1665df542 100644 index dc1c740b4..d818007fa 100644
--- a/apps/web/src/scss/styles.scss --- a/apps/web/src/scss/styles.scss
+++ b/apps/web/src/scss/styles.scss +++ b/apps/web/src/scss/styles.scss
@@ -57,3 +57,57 @@ @@ -57,3 +57,60 @@
@import "./tables"; @import "./tables";
@import "./toasts"; @import "./toasts";
@import "./vault-filters"; @import "./vault-filters";
@ -258,6 +258,9 @@ index dc1c740b4..1665df542 100644
+/* Hide Firefox Relay - It is CORS protected for SaaS only */ +/* Hide Firefox Relay - It is CORS protected for SaaS only */
+#forwardtype_firefoxrelay, label[for^=forwardtype_firefoxrelay] { @extend %vw-hide; } +#forwardtype_firefoxrelay, label[for^=forwardtype_firefoxrelay] { @extend %vw-hide; }
+ +
+/* Hide DuckDuckGo - It does not work for self-hosted either. */
+#forwardtype_duckduckgo, label[for^=forwardtype_duckduckgo] { @extend %vw-hide; }
+
+/* Hide Device Verification form at the Two Step Login screen */ +/* Hide Device Verification form at the Two Step Login screen */
+app-security > app-two-factor-setup > form { @extend %vw-hide; } +app-security > app-two-factor-setup > form { @extend %vw-hide; }
+/**** END Vaultwarden CHANGES ****/ +/**** END Vaultwarden CHANGES ****/