Use Argon2 as default password hasher
This commit is contained in:
parent
fa61c7f7b2
commit
7a43fe1a1e
1 changed files with 9 additions and 0 deletions
|
@ -111,3 +111,12 @@ LOGIN_REDIRECT_URL = '/'
|
|||
LOGOUT_REDIRECT_URL = '/'
|
||||
|
||||
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',
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue