Opened 10 years ago
Closed 10 years ago
#25052 closed Bug (fixed)
UserCreationForm missing password_validaton.{validate,set}_password?
| Reported by: | Chris Lamb | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | dev |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Using the new password validation framework, it looks like UserCreationForm is missing hooks to validate passwords as well as a trigger to set_password after successful creation of the user.
If this is deliberate, I think it would deserve an entry into docs; it's reasonable to assume that this form would validate passwords if there is a global setting for it.
Change History (3)
comment:1 by , 10 years ago
| Severity: | Normal → Release blocker |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Version: | 1.8 → master |
Note:
See TracTickets
for help on using tickets.
No, it's not an intentional omission (confirmed on the django-developers thread).