Fakultas Ilmu Komputer UI

Commit 599c0589 authored by Gregorius Aprisunnea's avatar Gregorius Aprisunnea
Browse files

adding passwordvalidator utils file and changing auth_password to enforcing this passwordvalidator

parent aadbe0e9
......@@ -127,10 +127,7 @@ STATICFILES_DIRS = (os.path.join(BASE_DIR, "staticfiles"),)
AUTH_USER_MODEL = "authentication.User"
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", },
{"NAME": "app.utils.PasswordValidator.PasswordPolicyValidator", },
]
......
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