Skip to content

Commit

Permalink
default does not include the old bcrypt... include it so passwords ge…
Browse files Browse the repository at this point in the history
…t upgraded
  • Loading branch information
rloomans committed Sep 7, 2018
1 parent 6c1687a commit 6461e87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions teamtemp/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@
'cspreports',
)

PASSWORD_HASHERS = (
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
'django.contrib.auth.hashers.BCryptPasswordHasher',
)

SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

Expand Down

0 comments on commit 6461e87

Please sign in to comment.