summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorfschwebel <fschwebel@users.noreply.github.com>2023-01-30 08:31:39 +0100
committerGitHub <noreply@github.com>2023-01-30 08:31:39 +0100
commit0265b1b49ba10f957abfd1311d0bae0ecefc3111 (patch)
treef34024bc8ef8dacce101fb4d1107e6277f696c92 /docs
parent8acc433e415cd771f69dfe84e57878a83641e78b (diff)
Fixed typo in docs/topics/auth/passwords.txt.
Wrapped hashing is only possible if the inner wrapped function is the same as the previous hasher.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/passwords.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 57053c1a2a..eb3b06b65e 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -336,7 +336,7 @@ to happen when a user logs in (which may never happen if a user doesn't return
to your site). In this case, you can use a "wrapped" password hasher.
For this example, we'll migrate a collection of MD5 hashes to use
-PBKDF2(SHA1(password)) and add the corresponding password hasher for checking
+PBKDF2(MD5(password)) and add the corresponding password hasher for checking
if a user entered the correct password on login. We assume we're using the
built-in ``User`` model and that our project has an ``accounts`` app. You can
modify the pattern to work with any algorithm or with a custom user model.