Add autocomplete attribute to password fields

This helps the browser autocomplete them with the right thing.

Value based on https://www.w3.org/TR/WCAG21/#input-purposes
This commit is contained in:
Chris Hill-Scott
2019-07-16 17:01:54 +01:00
parent 30eeaec154
commit 92ea5894bb
9 changed files with 24 additions and 17 deletions

View File

@@ -19,7 +19,7 @@
<div class="column-three-quarters">
{% call form_wrapper() %}
{{ textbox(form.password) }}
{{ textbox(form.password, autocomplete='current-password') }}
<p> Your organisation name will be changed from {{ current_org.name }} to {{ new_name }} </p>
{{ page_footer('Confirm') }}
{% endcall %}