Fix issue 616

Patch from Patrick Georgi
This commit is contained in:
William MARTIN 2011-02-23 18:24:49 +01:00
parent 3e238bea0b
commit 2130b327df

View File

@ -79,6 +79,7 @@ class IDF_Form_UserAccount extends Pluf_Form
'widget' => 'Pluf_Form_Widget_PasswordInput', 'widget' => 'Pluf_Form_Widget_PasswordInput',
'help_text' => Pluf_Template::markSafe(__('Leave blank if you do not want to change your password.').'<br />'.__('Your password must be hard for other people to find it, but easy for you to remember.')), 'help_text' => Pluf_Template::markSafe(__('Leave blank if you do not want to change your password.').'<br />'.__('Your password must be hard for other people to find it, but easy for you to remember.')),
'widget_attrs' => array( 'widget_attrs' => array(
'autocomplete' => 'off',
'maxlength' => 50, 'maxlength' => 50,
'size' => 15, 'size' => 15,
), ),
@ -89,6 +90,7 @@ class IDF_Form_UserAccount extends Pluf_Form
'initial' => '', 'initial' => '',
'widget' => 'Pluf_Form_Widget_PasswordInput', 'widget' => 'Pluf_Form_Widget_PasswordInput',
'widget_attrs' => array( 'widget_attrs' => array(
'autocomplete' => 'off',
'maxlength' => 50, 'maxlength' => 50,
'size' => 15, 'size' => 15,
), ),