Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
VP-1249: Fix login form action
Browse files Browse the repository at this point in the history
Used requestUrl instead of hardcoded '~/account/login' to save request params (#19)
  • Loading branch information
AliveMen authored and yecli committed Jan 24, 2020
1 parent c83a401 commit b36e048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/customers/login.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div id="customer-login">
<h2 class="page-title">{{ 'customer.login.title' | t }}</h2>

<form accept-charset="UTF-8" action="{{ '~/account/login' | absolute_url }}" method="post" id="customer_login" name="customer_login">
<form accept-charset="UTF-8" action="{{ requestUrl }}" method="post" id="customer_login" name="customer_login">
{% include 'form-errors-custom' %}

<div class="group-input{% if form.errors contains 'user_name' %} error{% endif %}">
Expand Down

0 comments on commit b36e048

Please sign in to comment.