mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-21 21:23:08 -05:00
Fix hide-passwordmgr.patch
This commit is contained in:
parent
7c436fda91
commit
0d36ef6f2f
1 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
--- a/browser/base/content/browser.js
|
||||
+++ b/browser/base/content/browser.js
|
||||
@@ -1847,6 +1847,13 @@ var gBrowserInit = {
|
||||
--- a/browser/base/content/browser-init.js
|
||||
+++ b/browser/base/content/browser-init.js
|
||||
@@ -300,6 +300,13 @@ var gBrowserInit = {
|
||||
)?.removeAttribute("key");
|
||||
}
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
|||
|
||||
--- a/browser/components/preferences/privacy.js
|
||||
+++ b/browser/components/preferences/privacy.js
|
||||
@@ -810,6 +810,10 @@ var gPrivacyPane = {
|
||||
/* init HTTPS-Only mode */
|
||||
this.initHttpsOnly();
|
||||
@@ -1214,6 +1214,10 @@ var gPrivacyPane = {
|
||||
|
||||
this.initWebAuthn();
|
||||
|
||||
+ if (Services.prefs.getBoolPref("librewolf.hidePasswdmgr", false)) {
|
||||
+ document.getElementById("passwordsGroup")?.remove();
|
||||
|
|
Loading…
Reference in a new issue