Simplified password check at registration
Everyone was complaining, everything was on fire!
This commit is contained in:
parent
930eba601d
commit
b74da62c30
|
@ -101,13 +101,16 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||||
|
'OPTIONS': {
|
||||||
|
'min_length': 4,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
#{
|
||||||
'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',
|
||||||
},
|
#},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue