mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fix phone number not being saved in customer registration form
This commit is contained in:
@@ -260,6 +260,7 @@ class RegistrationForm(forms.Form):
|
|||||||
customer = self.request.organizer.customers.create(
|
customer = self.request.organizer.customers.create(
|
||||||
email=self.cleaned_data['email'],
|
email=self.cleaned_data['email'],
|
||||||
name_parts=self.cleaned_data['name_parts'],
|
name_parts=self.cleaned_data['name_parts'],
|
||||||
|
phone=self.cleaned_data.get('phone'),
|
||||||
is_active=True,
|
is_active=True,
|
||||||
is_verified=False,
|
is_verified=False,
|
||||||
locale=get_language_without_region(),
|
locale=get_language_without_region(),
|
||||||
|
|||||||
Reference in New Issue
Block a user