Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix redirections

Bartosz Wiśniewskib2564f8224d1
diff --git a/templates/checkout/login.html b/templates/checkout/login.html
index 82f4b6259b..b7ce8b0645 100644
--- a/templates/checkout/login.html
+++ b/templates/checkout/login.html
@@ -20,7 +20,7 @@
<div class="col-12 col-md-6 checkout__login__form">
{% url "checkout:index" as checkout_url %}
<h3>{% trans "Existing customer? Log in." context "Checkout login form title" %}</h3>
- {% include "account/partials/login_form.html" with redirect_field_value=checkout_url %}
+ {% include "account/partials/login_form.html" with REDIRECT_FIELD_VALUE=checkout_url %}
</div>
</div>
{% endblock %}
diff --git a/templates/order/create_password.html b/templates/order/create_password.html
index 44dc76d285..6ccf5e13e5 100644
--- a/templates/order/create_password.html
+++ b/templates/order/create_password.html
@@ -28,7 +28,7 @@
Please log in to connect order with your account.
{% endblocktrans %}</p>
{% url "order:connect-order-with-user" token=order.token as attach_url %}
- {% include "account/partials/login_form.html" with redirect_field_value=attach_url form=login_form %}
+ {% include "account/partials/login_form.html" with REDIRECT_FIELD_VALUE=attach_url form=login_form %}
{% else %}
<form method="post" action="" novalidate>
{% csrf_token %}