summaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-01-01 15:27:57 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-18 10:24:25 +0100
commit20b6d5e9c0582fadeb8fa76d46cda14a190ca1a1 (patch)
treec6302bb502a9305c01bf0f55dfe447ed5996cf89 /browser
parent3cdef72da397f3878dfb24a91281ddeaf0eece37 (diff)
downloaduxp-20b6d5e9c0582fadeb8fa76d46cda14a190ca1a1.tar.gz
Add an option to control automatic filling in of login credentials and switch this off by default.
This resolves #272.
Diffstat (limited to 'browser')
-rw-r--r--browser/components/preferences/in-content/security.xul4
-rw-r--r--browser/locales/en-US/chrome/browser/preferences/security.dtd3
2 files changed, 7 insertions, 0 deletions
diff --git a/browser/components/preferences/in-content/security.xul b/browser/components/preferences/in-content/security.xul
index a10576c25d..b7bdb93613 100644
--- a/browser/components/preferences/in-content/security.xul
+++ b/browser/components/preferences/in-content/security.xul
@@ -45,6 +45,7 @@
<!-- Passwords -->
<preference id="signon.rememberSignons" name="signon.rememberSignons" type="bool"/>
+ <preference id="signon.autofillForms" name="signon.autofillForms" type="bool"/>
</preferences>
@@ -103,6 +104,9 @@
accesskey="&passwordExceptions.accesskey;"
preference="pref.privacy.disable_button.view_passwords_exceptions"/>
</hbox>
+ <checkbox id="autofillPasswords" flex="1"
+ label="&autofillPasswords.label;" accesskey="&autofillPasswords.accesskey;"
+ preference="signon.autofillForms"/>
<grid id="passwordGrid">
<columns>
<column flex="1"/>
diff --git a/browser/locales/en-US/chrome/browser/preferences/security.dtd b/browser/locales/en-US/chrome/browser/preferences/security.dtd
index ca9420401e..7ccc9af50a 100644
--- a/browser/locales/en-US/chrome/browser/preferences/security.dtd
+++ b/browser/locales/en-US/chrome/browser/preferences/security.dtd
@@ -31,6 +31,9 @@
<!ENTITY passwordExceptions.label "Exceptions…">
<!ENTITY passwordExceptions.accesskey "x">
+<!ENTITY autofillPasswords.label "Automatically fill in log-in details">
+<!ENTITY autofillPasswords.accesskey "A">
+
<!ENTITY useMasterPassword.label "Use a master password">
<!ENTITY useMasterPassword.accesskey "U">
<!ENTITY changeMasterPassword.label "Change Master Password…">