1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00

(bug) user can change his group in the profile completion page, even if mapped from the SSO

This commit is contained in:
Sylvain 2022-06-27 12:58:40 +02:00
parent 0510a5f3a3
commit a10f5e6bf7
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
- Renamed proof-of-identity to supporting-documents in react components and in end-user strings
- Fix a bug: when email was mapped from SSO provided as empty string -> unable to merge account
- Fix a bug: when an empty data was retured by the SSO, unable to edit it
- Fix a bug: user can change his group in the profile completion page, even if mapped from the SSO
- Fix a bug: the birthdate was not marked as required, in the profile edition form
- Fix a bug: when the phone or the address were required, they were not marked as this, in the profile edition form
- Fix a bug: the birthday was not shown in user edition form

View File

@ -121,5 +121,6 @@ export const UserFieldMapping = Object.assign({
'profile_attributes.interest': 'profile.interest',
'profile_attributes.software_mastered': 'profile.software_mastered',
is_allow_contact: 'user.is_allow_contact',
is_allow_newsletter: 'user.is_allow_newsletter'
is_allow_newsletter: 'user.is_allow_newsletter',
group_id: 'user.group_id'
}, ...socialMappings);