Implement Symfony password hasher
This commit is contained in:
parent
f6e38580d3
commit
a33f7217f6
2 changed files with 50 additions and 0 deletions
|
|
@ -129,6 +129,11 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
PASSWORD_HASHERS = [
|
||||
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
|
||||
'photo21.hashers.SHA512PasswordHasher',
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/2.2/topics/i18n/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue