Commit 124d2b53 authored by Hubert Denkmair's avatar Hubert Denkmair
Browse files

relax password restrictions

parent e568b52f
...@@ -73,18 +73,15 @@ WSGI_APPLICATION = 'Programmierspiel.wsgi.application' ...@@ -73,18 +73,15 @@ WSGI_APPLICATION = 'Programmierspiel.wsgi.application'
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators
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.MinimumLengthValidator',
'OPTIONS': {
'min_length': 5,
}
}, },
{ {
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
}, },
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
] ]
......
Supports Markdown
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