Skip to content
Snippets Groups Projects
Unverified Commit 300425f0 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

sync email

parent 113e9169
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ module User::WithPerson
def sync_person
person.first_name = first_name
person.last_name = last_name
person.email = email
person.slug = person.to_s.parameterize
person.phone_mobile = mobile_phone
person.picture.purge if picture_infos.present? && person.picture&.attached?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment