Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin.

This commit is contained in:
Jaap Roes 2024-11-28 14:42:59 +01:00 committed by Sarah Boyce
parent 28b9b8d6d9
commit ceecd518b1
5 changed files with 129 additions and 3 deletions

View file

@ -18,6 +18,10 @@ details on these changes.
* The ``all`` keyword argument of ``django.contrib.staticfiles.finders.find()``
will be removed.
* The fallback to ``request.user`` when ``user`` is ``None`` in
``django.contrib.auth.login()`` and ``django.contrib.auth.alogin()`` will be
removed.
.. _deprecation-removed-in-6.0:
6.0