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:
@@ -296,7 +296,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
|
||||
"""
|
||||
|
||||
algorithm = "pbkdf2_sha256"
|
||||
iterations = 480000
|
||||
iterations = 580000
|
||||
digest = hashlib.sha256
|
||||
|
||||
def encode(self, password, salt, iterations=None):
|
||||
|
||||
Reference in New Issue
Block a user