diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-02 08:35:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-02 08:35:59 +0000 |
commit | 749284633f83fbe44114c17c320bbf18a6b70a2e (patch) | |
tree | a91d669535437e50641cae3685c5b28ef2524928 /modules/system | |
parent | 034712530c161cbe17f512966837d61466e5eb19 (diff) | |
download | brdo-749284633f83fbe44114c17c320bbf18a6b70a2e.tar.gz brdo-749284633f83fbe44114c17c320bbf18a6b70a2e.tar.bz2 |
- Patch #42057 by hunmonk and chx: made saving user accounts work again.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.module | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index e01ecfc13..f8e5016ca 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -63,6 +63,13 @@ function system_elements() { $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, + '#value' => 'pass', + 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), + 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), + '#after_build' => 'password_confirm_after_build', + ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array())); $type['radio'] = array('#input' => TRUE); |