mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24987 -- Allowed inactive users to login with the test client.
This commit is contained in:
committed by
Tim Graham
parent
e0a3d93730
commit
107165c4b0
@@ -678,6 +678,10 @@ Miscellaneous
|
||||
:class:`~django.contrib.auth.backends.AllowAllUsersRemoteUserBackend`
|
||||
in :setting:`AUTHENTICATION_BACKENDS` instead.
|
||||
|
||||
* In light of the previous change, the test client's
|
||||
:meth:`~django.test.Client.login()` method no longer always rejects inactive
|
||||
users but instead delegates this decision to the authentication backend.
|
||||
|
||||
.. _deprecated-features-1.10:
|
||||
|
||||
Features deprecated in 1.10
|
||||
|
||||
Reference in New Issue
Block a user