Commit 5e1e0b1d authored by webchick's avatar webchick
Browse files

Issue #787876 by zero2one, avior: Fixed Edit 'My Account' fills the first password field.

parent 81b83076
......@@ -1065,6 +1065,7 @@ function user_account_form(&$form, &$form_state) {
'#access' => !empty($protected_values),
'#description' => $current_pass_description,
'#weight' => -5,
'#attributes' => array('autocomplete' => 'off'),
);
$form['#validate'][] = 'user_validate_current_pass';
}
......
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