Skip to content
Snippets Groups Projects
Commit 7d3ba7a9 authored by Odin Johan Vatne's avatar Odin Johan Vatne
Browse files

Remove overzealous password protection

parent 5d8cbad4
No related branches found
No related tags found
1 merge request!1Prepare branch for testing deployment
...@@ -26,6 +26,7 @@ SECRET_KEY = 'B8ve2kye2D3@Vekezcye$#udghb#TK$hUMwX5vhbV@JBxqdXJ4BoA^%UdddRYswT' ...@@ -26,6 +26,7 @@ SECRET_KEY = 'B8ve2kye2D3@Vekezcye$#udghb#TK$hUMwX5vhbV@JBxqdXJ4BoA^%UdddRYswT'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
#django_heroku overrides this with the correct value below
ALLOWED_HOSTS = [] ALLOWED_HOSTS = []
# Application definition # Application definition
...@@ -86,18 +87,18 @@ DATABASES = { ...@@ -86,18 +87,18 @@ DATABASES = {
# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators # https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators
# SECURITY WARNING: enable password validators in production. # SECURITY WARNING: enable password validators in production.
AUTH_PASSWORD_VALIDATORS = [ AUTH_PASSWORD_VALIDATORS = [
{ # {
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', # 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
}, # },
{ # {
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', # 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
}, # },
{ # {
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', # 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
}, # },
{ # {
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', # 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
}, # },
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment