summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2024-08-15 10:27:24 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2024-08-19 12:41:23 -0300
commitda22e6cb3cdb51f2f7ca45e1591d2c6a8be458e0 (patch)
treec77f623801b3afe99b27711cef972b38e52b45b9 /tests/basic
parentcfad0655c235ec532b40841d634b0f97e6280a4e (diff)
[5.1.x] 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. Backport of 0ebed5fa95f53b87383901bbd9341ef3c974344f from main.
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions