#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
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

 In [changeset:"9996bb1eadc108d228a20d928bccae84afd338d6" 9996bb1e]:
 {{{#!CommitTicketReference repository=""
 revision="9996bb1eadc108d228a20d928bccae84afd338d6"
 [5.1.x] 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]>

 Backport of 339977d4441fd353e20950b98bad3d42afb1f126 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35477#comment:13>
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/0107018fcafd6be1-0a6183ca-a157-4d83-b94e-cf3173e00040-000000%40eu-central-1.amazonses.com.

Reply via email to