#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 <
124304+...@users.noreply.github.com>
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/35477#comment:12>