summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/preferences/changemp.xul
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-18 14:05:21 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-18 14:05:21 +0200
commit1ef526f0f0ea664518789c5ab73ed9de140714ad (patch)
treea9a54cd23d9a4465e0181dd212809c17745c5af6 /toolkit/mozapps/preferences/changemp.xul
parent8058e08926afc5ec6528d233cf8cc5f7404dad38 (diff)
downloadUXP-1ef526f0f0ea664518789c5ab73ed9de140714ad.tar
UXP-1ef526f0f0ea664518789c5ab73ed9de140714ad.tar.gz
UXP-1ef526f0f0ea664518789c5ab73ed9de140714ad.tar.lz
UXP-1ef526f0f0ea664518789c5ab73ed9de140714ad.tar.xz
UXP-1ef526f0f0ea664518789c5ab73ed9de140714ad.zip
Strengthen the use of the Master Password.
- Use 30k iterations instead of 1. - Enforce minimum password length of 8 characters. - Adjust strength meter accordingly. This resolves #82.
Diffstat (limited to 'toolkit/mozapps/preferences/changemp.xul')
-rw-r--r--toolkit/mozapps/preferences/changemp.xul7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolkit/mozapps/preferences/changemp.xul b/toolkit/mozapps/preferences/changemp.xul
index 14d02295e..b316fa42b 100644
--- a/toolkit/mozapps/preferences/changemp.xul
+++ b/toolkit/mozapps/preferences/changemp.xul
@@ -34,7 +34,7 @@
<rows>
<row>
<label control="oldpw">&setPassword.oldPassword.label;</label>
- <textbox id="oldpw" type="password"/>
+ <textbox id="oldpw" type="password" size="18"/>
<!-- This textbox is inserted as a workaround to the fact that making the 'type'
& 'disabled' property of the 'oldpw' textbox toggle between ['password' &
'false'] and ['text' & 'true'] - as would be necessary if the menu has more
@@ -46,12 +46,13 @@
</row>
<row>
<label control="pw1">&setPassword.newPassword.label;</label>
- <textbox id="pw1" type="password"
+ <textbox id="pw1" type="password" size="18"
oninput="setPasswordStrength(); checkPasswords();"/>
</row>
<row>
<label control="pw2">&setPassword.reenterPassword.label;</label>
- <textbox id="pw2" type="password" oninput="checkPasswords();"/>
+ <textbox id="pw2" type="password" size="18"
+ oninput="checkPasswords();"/>
</row>
</rows>
</grid>