Remove AUTH_PASSWORD_VALIDATORS as user accounts will come from LDAP

This commit is contained in:
Adam Goldsmith 2020-12-18 14:10:33 -05:00
parent 34d659050e
commit a93b114005

View File

@ -63,24 +63,6 @@ TEMPLATES = [
WSGI_APPLICATION = 'recmaint.wsgi.application'
# Password validation
# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Default URL to redirect to after authentication
LOGIN_REDIRECT_URL = '/'