Add Argon2 hasher and set as default.

This commit is contained in:
Jim Driessen
2017-01-21 21:49:32 +01:00
parent aab721f414
commit 6256629140
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ AUTH_PASSWORD_VALIDATORS = [
]
PASSWORD_HASHERS = [
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.Argon2PasswordHasher',

View File

@ -1,2 +1,3 @@
django
mutagen
argon2-cffi