Merge branch 'feature/passwords' into develop

This commit is contained in:
evgeniy-st 2019-11-08 16:13:10 +03:00
commit ad1ad95f2f
2 changed files with 9 additions and 1 deletions

View File

@ -188,6 +188,14 @@ AUTH_PASSWORD_VALIDATORS = [
}, },
] ]
PASSWORD_HASHERS = [
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.BCryptPasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
]
# Account settings # Account settings
AUTH_USER_MODEL = 'account.User' AUTH_USER_MODEL = 'account.User'
LOGIN_URL = 'admin:login' LOGIN_URL = 'admin:login'

View File

@ -1,4 +1,4 @@
Django==2.2.4 Django[bcrypt]==2.2.7
psycopg2-binary==2.8.3 psycopg2-binary==2.8.3
pytz==2019.1 pytz==2019.1
sqlparse==0.3.0 sqlparse==0.3.0