diff options
author | 2018-09-08 00:15:09 +0200 | |
---|---|---|
committer | 2018-09-08 00:15:09 +0200 | |
commit | 17bff58a3c8f1a28052f4da88feb13cb2de56922 (patch) | |
tree | 8eb61620ff230077ce3ba703038a745d608672f7 /pysite | |
parent | Remove unused imports. (diff) |
Use Argon2 for password hashing.
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pysite/settings.py b/pysite/settings.py index a3aecf06..ae5074c5 100644 --- a/pysite/settings.py +++ b/pysite/settings.py @@ -141,6 +141,12 @@ AUTH_PASSWORD_VALIDATORS = [ }, ] +PASSWORD_HASHERS = [ + 'django.contrib.auth.hashers.Argon2PasswordHasher', + 'django.contrib.auth.hashers.PBKDF2PasswordHasher', + 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher' +] + # Internationalization # https://docs.djangoproject.com/en/2.1/topics/i18n/ |