This commit is contained in:
Raphael Michel
2021-10-31 18:26:45 +01:00
parent 9ff565f772
commit a6835d3b14

View File

@@ -713,7 +713,8 @@ class QuestionsStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
initial=initial, all_optional=self.all_optional)
if wd.get('email', '') and wd.get('fix', '') == "true" or self.cart_customer:
f.fields['email'].disabled = True
f.fields['email_repeat'].disabled = True
if 'email_repeat' in f.fields:
f.fields['email_repeat'].disabled = True
for overrides in override_sets:
for fname, val in overrides.items():