Commit 56a14428 authored by David Seaward's avatar David Seaward

set explicit AUTH_PASSWORD_VALIDATORS (only 15 character rule for now)

parent 9c4a4449
......@@ -47,7 +47,14 @@ REG_GROUP_OBJECT_CLASSES = config("REG_GROUP_OBJECT_CLASSES", cast=Csv())
# AUTHENTICATION
#
# AUTH_PASSWORD_VALIDATORS = [] # override
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
'OPTIONS': {
'min_length': 15,
}
},
]
AUTHENTICATION_BACKENDS = (
'django_auth_ldap.backend.LDAPBackend',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment