diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system.module | 2 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system.module b/modules/system.module index f96de2e92..edb0b99c2 100644 --- a/modules/system.module +++ b/modules/system.module @@ -68,7 +68,7 @@ function system_elements() { '#value' => 'pass', 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - '#after_build' => 'password_confirm_after_build', + '#validate' => array('password_confirm_validate' => ''), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array())); diff --git a/modules/system/system.module b/modules/system/system.module index f96de2e92..edb0b99c2 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -68,7 +68,7 @@ function system_elements() { '#value' => 'pass', 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - '#after_build' => 'password_confirm_after_build', + '#validate' => array('password_confirm_validate' => ''), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); $type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array())); |