diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-24 10:15:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-24 10:15:03 +0000 |
commit | 6f978a04f91dfc50f268e3c871c1a4205d6091ab (patch) | |
tree | d8a6a28632a6d70ded3470676b81e8f046a6866e /modules/system.module | |
parent | 4c83a0347a2bb923953ef72f03e68c0488bfc555 (diff) | |
download | brdo-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.module')
-rw-r--r-- | modules/system.module | 2 |
1 files changed, 1 insertions, 1 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())); |