1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27468 -- Made user sessions use SHA-256 algorithm.

This commit is contained in:
Mariusz Felisiak
2020-04-29 16:45:00 +02:00
committed by GitHub
parent 5869afe32b
commit 54646a423b
7 changed files with 57 additions and 4 deletions

View File

@@ -713,6 +713,10 @@ The following attributes and methods are available on any subclass of
Returns an HMAC of the password field. Used for
:ref:`session-invalidation-on-password-change`.
.. versionchanged:: 3.1
The hashing algorithm was changed to the SHA-256.
:class:`~models.AbstractUser` subclasses :class:`~models.AbstractBaseUser`:
.. class:: models.AbstractUser