diff options
Diffstat (limited to 'config/settings.py')
-rw-r--r-- | config/settings.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/settings.py b/config/settings.py index abe86dd..ef27950 100644 --- a/config/settings.py +++ b/config/settings.py @@ -101,6 +101,13 @@ DATABASES = { AUTH_PASSWORD_VALIDATORS = [ { + 'NAME': 'pwned_passwords_django.validators.PwnedPasswordsValidator', + 'OPTIONS': { + 'error_message': 'We hate to be the bearers of bad news, but that password is known to be compromised', + 'help_message': 'Your password can\'t be a commonly used password.', + } + }, + { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { |