custom_settings: écraser l'email par l'email FC uniquement si il n'y en a pas

This commit is contained in:
Benjamin Dauvergne 2017-10-10 10:41:57 +02:00
parent 4155dec7b6
commit 8b981a27c8
1 changed files with 6 additions and 1 deletions

View File

@ -100,10 +100,15 @@ A2_FC_USER_INFO_MAPPINGS = {
'validation_context': {'value': 'FC'},
'address': 'address.formatted',
'phone': 'phone',
'email': 'email',
'email': {
'ref': 'email',
'if-empty': True,
'tag': 'email',
},
'email_verified': {
'ref': 'email',
'translation': 'notempty',
'if-tag': 'email',
},
}