#33983: Unused html code in: password_reset_confirm.html
-------------------------------------+-------------------------------------
Reporter: Jakob | Owner: nobody
Damgaard Møller |
Type: | Status: new
Cleanup/optimization |
Component: Template | Version: 4.0
system | Keywords: template, cleanup,
Severity: Normal | password_reset_confirm
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hello, when working on a django site, I was implementing password reset
function and used your examples.
I came across this template:
https://github.com/django/django/blob/main/django/contrib/admin/templates/registration/password_reset_confirm.html#L20
And for me, I see no use of line 20 in the template.
And if I do a post with the current html, the username is not posted
anyways. So unless the username is for informational usage for the user,
it could make sense.
But the input has a class="hidden" and no name is assigned the input.
Am I wrong or right?
--
Ticket URL: <https://code.djangoproject.com/ticket/33983>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701830ec3a5a9-9e3a8fab-cd0f-480c-a53d-c6f7965460d8-000000%40eu-central-1.amazonses.com.