Commit f959c2b9 authored by catch's avatar catch

Issue #787876 by David_Rothstein, zero2one: Inline code comment followup for...

Issue #787876 by David_Rothstein, zero2one: Inline code comment followup for 'My Account' fills the first password field.
parent e933d815
......@@ -95,6 +95,9 @@ public function form(array $form, array &$form_state, EntityInterface $account)
'#access' => !empty($protected_values),
'#description' => $current_pass_description,
'#weight' => -5,
// Do not let web browsers remember this password, since we are
// trying to confirm that the person submitting the form actually
// knows the current one.
'#attributes' => array('autocomplete' => 'off'),
);
......
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