diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index e5559180a..1785a2837 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -62,12 +62,11 @@ function system_elements() { $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE); $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); - $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64); - $type['password_confirm'] = array( - '#input' => TRUE, + $type['password'] = array('#input' => TRUE, '#size' => 30); + $type['password_confirm'] = array('#input' => TRUE, '#value' => 'pass', - 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), + 'pass1' => array('#type' => 'password', '#size' => 12), + 'pass2' => array('#type' => 'password', '#size' => 12), '#validate' => array('password_confirm_validate' => array()), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); |