Don't use Argon2, as it doesn't work in old Python envs

This commit is contained in:
Oliver Falk
2025-01-23 13:45:27 +01:00
parent 3fad7497a1
commit dc30267ff4
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,8 @@ AUTH_PASSWORD_VALIDATORS = [
# Password Hashing (more secure) # Password Hashing (more secure)
PASSWORD_HASHERS = [ PASSWORD_HASHERS = [
"django.contrib.auth.hashers.Argon2PasswordHasher", # This isn't working in older Python environments
# "django.contrib.auth.hashers.Argon2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2PasswordHasher", "django.contrib.auth.hashers.PBKDF2PasswordHasher",
"django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher", "django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
] ]

View File

@@ -1,4 +1,3 @@
argon2
autopep8 autopep8
bcrypt bcrypt
defusedxml defusedxml