Skip to content

Commit 179e5af

Browse files
committed
docs: fix example
1 parent 377d1e8 commit 179e5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/upgrading.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ tracker's ``interfaces.py``::
276276
Password.default_scheme = Password.deprecated_schemes.pop(0)
277277
# Add PBKDF2S5 (PBKDF2-SHA512) as a valid scheme. Passwords
278278
# using it will be rehashed to use PBDKF2.
279-
Password.experimental_schemes[0] = "PBKDF2S5"
279+
Password.experimental_schemes.insert(0, "PBKDF2S5")
280280

281281
If you proceed with this, you should set
282282
``password_pbkdf2_default_rounds`` to 2 million or more rounds to keep

0 commit comments

Comments
 (0)