#34429: Allow to set unusable password via admin UI
-------------------------------------+-------------------------------------
     Reporter:  Tobias Bengfort      |                    Owner:  Fabian
                                     |  Braun
         Type:  New feature          |                   Status:  closed
    Component:  contrib.auth         |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by nessita <124304+nessita@…>):

 In [changeset:"0ebed5fa95f53b87383901bbd9341ef3c974344f" 0ebed5f]:
 {{{#!CommitTicketReference repository=""
 revision="0ebed5fa95f53b87383901bbd9341ef3c974344f"
 Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm.

 Refs #34429: Following the implementation allowing the setting of
 unusable passwords via the admin site, the `BaseUserCreationForm` and
 `UserCreationForm` were extended to include a new field for choosing
 whether password-based authentication for the new user should be enabled
 or disabled at creation time.
 Given that these forms are designed to be extended when implementing
 custom user models, this branch ensures that this new field is moved to
 a new, admin-dedicated, user creation form `AdminUserCreationForm`.

 Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.

 Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for
 the review.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/34429#comment:18>
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/010701916b4ba8d7-d4396cc4-a4cc-4c06-95cc-512e49070612-000000%40eu-central-1.amazonses.com.

Reply via email to