Fix phone number not being saved in customer registration form

This commit is contained in:
Raphael Michel
2022-03-27 15:09:53 +02:00
parent 551bd3e284
commit e7996c693a
+1
View File
@@ -260,6 +260,7 @@ class RegistrationForm(forms.Form):
customer = self.request.organizer.customers.create(
email=self.cleaned_data['email'],
name_parts=self.cleaned_data['name_parts'],
phone=self.cleaned_data.get('phone'),
is_active=True,
is_verified=False,
locale=get_language_without_region(),