diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-09-05 14:35:00 -0400 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-09-17 15:17:05 -0300 |
| commit | b83204a06e2a4b01f8580b5452058729786ee1d5 (patch) | |
| tree | a1ffc0a469991a9bec65fb58cf0e5702f0b9545c /django | |
| parent | 0655d958bd7a4be7c47df3469f7cfa9af46e7a35 (diff) | |
Increased the default PBKDF2 iterations for Django 6.1.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/auth/hashers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py index 4bb518cb89..35a295cf17 100644 --- a/django/contrib/auth/hashers.py +++ b/django/contrib/auth/hashers.py @@ -324,7 +324,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher): """ algorithm = "pbkdf2_sha256" - iterations = 1_200_000 + iterations = 1_500_000 digest = hashlib.sha256 def encode(self, password, salt, iterations=None): |
