Skip to content

Commit 06d29f7

Browse files
committed
-
1 parent b12a4b5 commit 06d29f7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

security/password_migration.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ hash algorithms. This means that if a better hash algorithm is supported on your
99
system, the user's password should be *rehashed* using the newer algorithm and
1010
stored. That's possible with the ``migrate_from`` option:
1111

12-
#. `Configure a new Encoder Using "migrate_from"`_
12+
#. `Configure a new Hasher Using "migrate_from"`_
1313
#. `Upgrade the Password`_
14-
#. Optionally, `Trigger Password Migration From a Custom Encoder`_
14+
#. Optionally, `Trigger Password Migration From a Custom Hasher`_
1515

16-
Configure a new Encoder Using "migrate_from"
17-
----------------------------------------------
16+
.. _configure-a-new-encoder-using migrate_from:
17+
18+
Configure a new Hasher Using "migrate_from"
19+
-------------------------------------------
1820

1921
When a better hashing algorithm becomes available, you should keep the existing
20-
encoder(s), rename it, and then define the new one. Set the ``migrate_from`` option
21-
on the new encoder to point to the old, legacy encoder(s):
22+
hasher(s), rename it, and then define the new one. Set the ``migrate_from`` option
23+
on the new hasher to point to the old, legacy hasher(s):
2224

2325
.. configuration-block::
2426

0 commit comments

Comments
 (0)