Browse Source

Switch default password hasher to custom SSHA

test_david
lhark 10 years ago
parent
commit
a0cddee08c
  1. 9
      re2o/settings.py

9
re2o/settings.py

@ -20,6 +20,15 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
# Auth definition
PASSWORD_HASHERS = (
're2o.login.SSHAPasswordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
)
# Application definition # Application definition
INSTALLED_APPS = ( INSTALLED_APPS = (

Loading…
Cancel
Save