Implement Symfony password hasher

This commit is contained in:
Alexandre Iooss 2021-10-12 11:46:30 +02:00
parent f6e38580d3
commit a33f7217f6
2 changed files with 50 additions and 0 deletions

View file

@ -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/