mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 04:43:10 +00:00
Give to django main user personnal fields
This commit is contained in:
parent
e3c8327cd4
commit
c5410bc1e1
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ OPTIONNAL_APPS = OPTIONNAL_APPS_RE2O + ()
|
||||||
AUTH_PASSWORD_VALIDATORS = [
|
AUTH_PASSWORD_VALIDATORS = [
|
||||||
{
|
{
|
||||||
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
|
||||||
|
'OPTIONS': {
|
||||||
|
'user_attributes': ['surname', 'pseudo', 'name', 'email'],
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
||||||
|
|
Loading…
Reference in a new issue