mirror of
https://github.com/django/django.git
synced 2025-07-19 17:19:12 +00:00
[1.9.x] Fixed spelling error
Backport of b14470c7b7ee73c328c9c60100165301e6c2e24b from master
This commit is contained in:
parent
31c9301f27
commit
5ca1d0a654
@ -210,7 +210,7 @@ upgrade 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.
|
return to your site). In this case, you can use a "wrapped" password hasher.
|
||||||
|
|
||||||
For this example, we'll migrate a collection of SHA1 hashes to use
|
For this example, we'll migrate a collection of SHA1 hashes to use
|
||||||
PDKDF2(SHA1(password)) and add the corresponding password hasher for checking
|
PBKDF2(SHA1(password)) and add the corresponding password hasher for checking
|
||||||
if a user entered the correct password on login. We assume we're using the
|
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
|
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.
|
modify the pattern to work with any algorithm or with a custom user model.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user