Permalink
Browse files

remove broken django_sha2 hashers and use django defaults

  • Loading branch information...
1 parent e8c64f9 commit 14d53ec241a5faeb2234775ede5f938a67823038 @peterbe peterbe committed Oct 10, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 pto/settings/base.py
View
@@ -129,6 +129,16 @@
# Jill?!?!?!
}
+# because we use LDAP users only, we never have to store real passwords,
+# we don't need django_sha2 so go back to Django defaults
+PASSWORD_HASHERS = (
+ 'django.contrib.auth.hashers.PBKDF2PasswordHasher',
+ 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
+ 'django.contrib.auth.hashers.BCryptPasswordHasher',
+ 'django.contrib.auth.hashers.SHA1PasswordHasher',
+ 'django.contrib.auth.hashers.MD5PasswordHasher',
+ 'django.contrib.auth.hashers.CryptPasswordHasher',
+)
try:
## LDAP

0 comments on commit 14d53ec

Please sign in to comment.