1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Increased the default PBKDF2 iterations for Django 5.0.

This commit is contained in:
Mariusz Felisiak
2023-01-13 10:16:17 +01:00
parent f39f120302
commit 4fc711a108
3 changed files with 7 additions and 6 deletions

View File

@@ -296,7 +296,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
"""
algorithm = "pbkdf2_sha256"
iterations = 480000
iterations = 580000
digest = hashlib.sha256
def encode(self, password, salt, iterations=None):