Opened 6 years ago
Closed 6 years ago
#30558 closed Cleanup/optimization (duplicate)
Autocompletion should be disabled in the "Add user" form.
| Reported by: | Vasili Korol | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | admin, autocomplete, user |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In the admin:
Home > Authentication and Authorization > Users > Add user
There is a form with a "username", "password" and "password confirmation" input fields. In my case, the browser automatically fills in the first two inputs with my own username and password every time i need to create a new user.
I think the HTML input elements in this form should have autocomplete="off" attribute set.
I observe this in Django 1.11.21. Currently have no possibility to test in newer versions.
I failed to find an existing ticket related to this issue.
Change History (1)
comment:1 by , 6 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Summary: | Autocompletion should be disabled in the "Add user" form → Autocompletion should be disabled in the "Add user" form. |
| Type: | Uncategorized → Cleanup/optimization |
| UI/UX: | unset |
| Version: | 1.11 → master |
Thanks for this report, we decided to add
autocompleteattributes tocontrib.authfields, that should fix your issue (see #29379).Duplicate of #29379.