Add flaw 4: weak passwords allowed
This commit is contained in:
parent
05fec8a837
commit
e8f671d66e
3 changed files with 16 additions and 6 deletions
|
@ -91,6 +91,9 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||
'OPTIONS': {
|
||||
'min_length': 10,
|
||||
}
|
||||
},
|
||||
{
|
||||
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
|
||||
|
|
Reference in a new issue