summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-24 10:15:03 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-24 10:15:03 +0000
commit6f978a04f91dfc50f268e3c871c1a4205d6091ab (patch)
treed8a6a28632a6d70ded3470676b81e8f046a6866e /modules/system
parent4c83a0347a2bb923953ef72f03e68c0488bfc555 (diff)
downloadbrdo-6f978a04f91dfc50f268e3c871c1a4205d6091ab.tar.gz
brdo-6f978a04f91dfc50f268e3c871c1a4205d6091ab.tar.bz2
- Patch #45793 by chx: fixed bug in user.module that results in storing plain text passwords.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
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()));