Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix selecting template for email
Marek Brzóska0f5d58913079
diff --git a/registration/forms.py b/registration/forms.pyindex 8840e0bdd9..f9e31449b7 100644--- a/registration/forms.py+++ b/registration/forms.py@@ -41,7 +41,7 @@ class RequestEmailConfirmationForm(forms.Form):request = self.create_request_instance()confirmation_url = self.local_host + request.get_confirmation_url()context = {'confirmation_url': confirmation_url}- send_email(email, 'registration/emails/confirm_email.txt', context)+ send_email(email, self.template, context)def create_request_instance(self):email = self.cleaned_data['email']