custom_settings: ignore preferred_username from FC when it's already set (#45866)
This commit is contained in:
parent
c8e3d7e536
commit
70f00be9e6
|
@ -75,7 +75,6 @@ A2_FC_USER_INFO_MAPPINGS = {
|
|||
'birthcountry': {'ref': 'birthcountry', 'translation': 'insee-countries'},
|
||||
'birthplace_insee': 'birthplace',
|
||||
'birthcountry_insee': 'birthcountry',
|
||||
'preferred_username': 'preferred_username',
|
||||
'title': {
|
||||
'ref': 'gender',
|
||||
'translation': 'simple',
|
||||
|
@ -84,6 +83,10 @@ A2_FC_USER_INFO_MAPPINGS = {
|
|||
'female': 'Madame',
|
||||
}
|
||||
},
|
||||
'preferred_username': {
|
||||
'ref': 'preferred_username',
|
||||
'if-empty': True,
|
||||
},
|
||||
'address': 'address.formatted',
|
||||
'phone': 'phone',
|
||||
'email': {
|
||||
|
|
Loading…
Reference in New Issue