Use Argon2 as default password hasher

This commit is contained in:
Kumi 2019-01-15 15:50:49 +01:00
parent fa61c7f7b2
commit 7a43fe1a1e

View file

@ -111,3 +111,12 @@ LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/' LOGOUT_REDIRECT_URL = '/'
DEFAULT_FROM_EMAIL = 'VPN360 Administration <noreply@admin360.kumi.host>' DEFAULT_FROM_EMAIL = 'VPN360 Administration <noreply@admin360.kumi.host>'
# Password hasher -> set to Argon2
PASSWORD_HASHERS = [
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
]