custom_settings: set a random password on FranceConnect user creation (fixes #23096)

This commit is contained in:
Benjamin Dauvergne 2018-07-24 12:22:18 +02:00
parent 6bfbf66fcd
commit 55111784f6
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ A2_FC_USER_INFO_MAPPINGS = {
'translation': 'notempty',
'if-tag': 'email',
},
'password': {'compute': 'random', 'if-empty': True},
}
A2_FC_SCOPES = ['openid', 'identite_pivot', 'email', 'address', 'phone']