Skip to content
Snippets Groups Projects
Commit 43b09d03 authored by magicfelix's avatar magicfelix
Browse files

Fix registration for invited persons without email

parent 07b68699
No related branches found
No related tags found
1 merge request!1737Draft: Resolve "Rebuild account registration form"
Pipeline #197722 passed with warnings
......@@ -636,6 +636,7 @@ class SendAccountRegistrationMutation(PersonAddressMutationMixin, graphene.Mutat
# Create person if no invitation is given or if invitation isn't linked to a person
if invitation and invitation.person:
person = invitation.person
person.email = email
person.user = user
person.save()
else:
......
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