summaryrefslogtreecommitdiff
path: root/modules/system.module
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-20 16:35:29 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-20 16:35:29 +0000
commitb354396b69ab75f56e609e6145fd24a46fdb56ba (patch)
tree90b9d87feafd976670188c9914a960994a6575be /modules/system.module
parenta99b66c70483102ebcd3ce3dc872b07bf8927d76 (diff)
downloadbrdo-b354396b69ab75f56e609e6145fd24a46fdb56ba.tar.gz
brdo-b354396b69ab75f56e609e6145fd24a46fdb56ba.tar.bz2
#59528, password_confirm fields don't highlight errors, patch by sammys
Diffstat (limited to 'modules/system.module')
-rw-r--r--modules/system.module7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/system.module b/modules/system.module
index 4763534c2..3e4c098de 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -63,12 +63,7 @@ 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);
- $type['password_confirm'] = array('#input' => TRUE,
- '#value' => 'pass',
- 'pass1' => array('#type' => 'password', '#size' => 12),
- 'pass2' => array('#type' => 'password', '#size' => 12),
- '#validate' => array('password_confirm_validate' => array()),
- );
+ $type['password_confirm'] = array('#input' => TRUE, '#process' => array('expand_password_confirm' => array()));
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);
$type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array()));
$type['radio'] = array('#input' => TRUE);