<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/auth_tests/test_forms.py, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-03-30T19:55:07Z</updated>
<entry>
<title>[5.2.x] Applied Black's 2026 stable style.</title>
<updated>2026-03-30T19:55:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2026-01-18T20:26:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0ee44c674cf61efbca2056c40f3e4f2335aaeee6'/>
<id>urn:sha1:0ee44c674cf61efbca2056c40f3e4f2335aaeee6</id>
<content type='text'>
https://github.com/psf/black/releases/tag/26.1.0

Backport of 6cff02078799b7c683a0d39630d49ab4fe532e7c from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.</title>
<updated>2025-02-02T01:50:26Z</updated>
<author>
<name>nessita</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-02-02T01:49:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=affad13d0c56184e2089cd7e8ecd80dd4217f6c4'/>
<id>urn:sha1:affad13d0c56184e2089cd7e8ecd80dd4217f6c4</id>
<content type='text'>
Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.

Thanks buffgecko12 for the report and Sarah Boyce for the review.

Backport of d15454a6e84a595ffc8dc1b926282f484f782a8f from main.
</content>
</entry>
<entry>
<title>Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails.</title>
<updated>2024-09-03T12:22:32Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-08-19T17:47:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8c35a0a903fd979e3262fe300ca084ffbfb300d6'/>
<id>urn:sha1:8c35a0a903fd979e3262fe300ca084ffbfb300d6</id>
<content type='text'>
On successful submission of a password reset request, an email is sent
to the accounts known to the system. If sending this email fails (due to
email backend misconfiguration, service provider outage, network issues,
etc.), an attacker might exploit this by detecting which password reset
requests succeed and which ones generate a 500 error response.

Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam
Johnson, and Sarah Boyce for the reviews.
</content>
</entry>
<entry>
<title>Added helper and refactored PasswordResetFormTest to unify email sending tests.</title>
<updated>2024-08-23T14:13:31Z</updated>
<author>
<name>nessita</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-08-23T14:13:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=046a354217b80d4e8d9b575843d72413886f6bac'/>
<id>urn:sha1:046a354217b80d4e8d9b575843d72413886f6bac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm.</title>
<updated>2024-08-19T15:39:57Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-08-15T13:27:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0ebed5fa95f53b87383901bbd9341ef3c974344f'/>
<id>urn:sha1:0ebed5fa95f53b87383901bbd9341ef3c974344f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Refs #35678 -- Split tests for BaseUserCreationForm when using a custom User model.</title>
<updated>2024-08-19T15:39:57Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-08-15T13:21:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b60fd8722f305ec29c87f34d3fea262e56394ebd'/>
<id>urn:sha1:b60fd8722f305ec29c87f34d3fea262e56394ebd</id>
<content type='text'>
This work also allows to subclass BaseUserCreationFormTest to reuse the
tests and assertions for testing forms that extend BaseUserCreationForm,
which is now used for UserCreationFormTest, increasing its coverage.
</content>
</entry>
<entry>
<title>Fixed #35477 -- Corrected 'required' errors in auth password set/change forms.</title>
<updated>2024-05-30T19:31:01Z</updated>
<author>
<name>Fabian Braun</name>
<email>fsbraun@gmx.de</email>
</author>
<published>2024-05-28T06:15:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=339977d4441fd353e20950b98bad3d42afb1f126'/>
<id>urn:sha1:339977d4441fd353e20950b98bad3d42afb1f126</id>
<content type='text'>
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 &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #34977 -- Improved accessibility in the UserChangeForm by replacing the reset password link with a button.</title>
<updated>2024-03-27T19:40:41Z</updated>
<author>
<name>Fabian Braun</name>
<email>fsbraun@gmx.de</email>
</author>
<published>2024-03-11T15:24:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=944745afe2ec45aed30cef799c250107f1364ca7'/>
<id>urn:sha1:944745afe2ec45aed30cef799c250107f1364ca7</id>
<content type='text'>
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms.</title>
<updated>2024-02-20T15:13:32Z</updated>
<author>
<name>Fabian Braun</name>
<email>fsbraun@gmx.de</email>
</author>
<published>2024-01-23T15:45:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e626716c28b6286f8cf0f8174077f3d2244f3eb3'/>
<id>urn:sha1:e626716c28b6286f8cf0f8174077f3d2244f3eb3</id>
<content type='text'>
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Refs #34429 -- Defined test user with unusable password for auth forms tests.</title>
<updated>2024-02-20T15:12:37Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-02-20T15:12:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8a757244f9e50c4d076e559e4b74b9d83ab089b6'/>
<id>urn:sha1:8a757244f9e50c4d076e559e4b74b9d83ab089b6</id>
<content type='text'>
</content>
</entry>
</feed>
