Skip to content
Snippets Groups Projects
Commit f959c2b9 authored by catch's avatar catch
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment