#35477: Required field error added to new_password1 on forms that inherit
SetPasswordForm with additional new_password1 level validation.
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: Fabian
| Braun
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.1
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by nessita <124304+nessita@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"339977d4441fd353e20950b98bad3d42afb1f126" 339977d4]:
{{{#!CommitTicketReference repository=""
revision="339977d4441fd353e20950b98bad3d42afb1f126"
Fixed #35477 -- Corrected 'required' errors in auth password set/change
forms.
The auth forms using SetPasswordMixin were incorrectly including the
'This field is required.' error when additional validations (e.g.,
overriding `clean_password1`) were performed and failed.
This fix ensures accurate error reporting for password fields.
Co-authored-by: Natalia <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35477#comment:12>
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/0107018fcafc09ff-73614496-20f6-49c0-a8f9-23e951fe5c21-000000%40eu-central-1.amazonses.com.