#26097: UserCreationForm isn't using password_validators_help_text_html
------------------------------+--------------------
     Reporter:  ataylor32     |      Owner:  nobody
         Type:  Bug           |     Status:  new
    Component:  contrib.auth  |    Version:  1.9
     Severity:  Normal        |   Keywords:
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  0             |      UI/UX:  0
------------------------------+--------------------
 Unlike `SetPasswordForm` and `AdminPasswordChangeForm`, `UserCreationForm`
 is not using `password_validators_help_text_html`. I think this was
 probably accidentally left out of #25052. This means that the "Add user"
 form at /admin/auth/user/add/ provides no indication of what the password
 requirements are unless you provide a password that does not pass
 validation. Even then, it doesn't list what ''all'' of the password
 requirements are.

 I tried adding
 `help_text=password_validation.password_validators_help_text_html()` to
 the `UserCreationForm` form's `password1` field, but the CSS didn't work
 well with this (see the attached screen shot), so now I'm submitting this
 ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/26097>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.2843e2d47b76ff8c9df7702289cddc4b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to