Commit 5229f329 authored by Dries's avatar Dries

- Patch #46759 by chx: made it possible to change your password when using php5.

parent 30d59fd5
......@@ -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),
'#validate' => array('password_confirm_validate' => ''),
'#validate' => array('password_confirm_validate' => array()),
);
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);
$type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array()));
......
......@@ -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),
'#validate' => array('password_confirm_validate' => ''),
'#validate' => array('password_confirm_validate' => array()),
);
$type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5);
$type['radios'] = array('#input' => TRUE, '#process' => array('expand_radios' => array()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment