summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/default.txt6
-rw-r--r--docs/topics/auth/passwords.txt12
2 files changed, 0 insertions, 18 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 640130beb0..fc2b00f109 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -823,12 +823,6 @@ access with an HTTP 403 Forbidden response. Anonymous users are redirected to
the login page or shown an HTTP 403 Forbidden response, depending on the
:attr:`~django.contrib.auth.mixins.AccessMixin.raise_exception` attribute.
-.. versionchanged:: 2.1
-
- In older versions, authenticated users who lacked permissions were
- redirected to the login page (which resulted in a loop) instead of
- receiving an HTTP 403 Forbidden response.
-
.. class:: AccessMixin
.. attribute:: login_url
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 4a4497cf8a..1f86a1820c 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -412,14 +412,6 @@ from the ``User`` model.
Returns ``False`` if the password is a result of
:meth:`.User.set_unusable_password`.
- .. versionchanged:: 2.1
-
- In older versions, this also returns ``False`` if the password is
- ``None`` or an empty string, or if the password uses a hasher that's
- not in the :setting:`PASSWORD_HASHERS` setting. That behavior is
- considered a bug as it prevents users with such passwords from
- requesting a password reset.
-
.. _password-validation:
Password validation
@@ -538,10 +530,6 @@ Django includes four validators:
common passwords. This file should contain one lowercase password per line
and may be plain text or gzipped.
- .. versionchanged:: 2.1
-
- In older versions, a list of 1,000 common passwords is used.
-
.. class:: NumericPasswordValidator()
Validates whether the password is not entirely numeric.