Prevent password fields from autocompleting, which can overwrite passwords when editing forms. Fixes bug #11923.

This commit is contained in:
Colin Kuskie 2010-10-25 10:29:16 -07:00
parent afb9efcdda
commit cb952501fc
4 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,7 @@
- fixed #11920: Defaul DataForm emails missing entries.
- fixed #11921: DataForm emails contain 1 table per field
- fixed #11922: Help tempalte is squatting on a good URL
- fixed #11923: Collaboration System Mail Cron Errors
7.10.3
- fixed #11903: Unnecessary debug in Thingy

View file

@ -556,6 +556,7 @@ sub definition {
tab=>'mail',
label=>$i18n->get("mail account"),
hoverHelp=>$i18n->get("mail account help"),
extras => 'autocomplete="off"',
},
mailPassword=>{
fieldType=>"password",
@ -563,6 +564,7 @@ sub definition {
tab=>'mail',
label=>$i18n->get("mail password"),
hoverHelp=>$i18n->get("mail password help"),
extras => 'autocomplete="off"',
},
mailAddress=>{
fieldType=>"email",

View file

@ -400,7 +400,8 @@ sub editUserForm {
$f->password(
name=>"authWebGUI.identifier",
label=>$i18n->get(51),
value=>"password"
value=>"password",
extras=>'autocomplete="off"',
);
$f->interval(
-name=>"authWebGUI.passwordTimeout",

View file

@ -646,6 +646,7 @@ sub www_editUser {
-name=>"username",
-label=>$i18n->get(50),
-value=>$username
-extras=>'autocomplete="off"',
);
my %status;
tie %status, 'Tie::IxHash';