Customer reset password not working with theme

Topic summary

A store owner reports that their third-party theme prevents customers from resetting forgotten passwords. The reset process appears to function normally, but incorrectly returns an error stating no account exists for the provided email, even when the account is valid.

Current Status:

  • Theme support is unresponsive
  • Store owner attempting self-resolution with limited Liquid experience
  • Code from customers/login.liquid has been shared for troubleshooting

Technical Details:

  • The provided code snippet shows the login form structure
  • Contains corrupted/reversed HTML markup in portions of the code, suggesting potential encoding or copy-paste issues
  • The password reset functionality itself isn’t visible in the shared code excerpt

Seeking Help:
The user is requesting guidance on identifying the root cause and potential fixes, and is open to sharing additional code if needed for diagnosis.

Summarized with AI on November 21. AI used: claude-sonnet-4-5-20250929.

My store is using a third party theme that works fine except for the fact that won’t allow customers to reset their password if they forgot it. The process and the graphic works fine but then it says that there isn’t an account with that email even if it exists.

Unfortunately the theme support isn’t answering so I’m trying to fix it myself, I don’t have much experience with liquid so I don’t really know where to start. If someone knows where is the problem or how to fix it I would be really grateful. I’ll leave the code below, if something else is needed to understand the problem better please ask, I will add it to my question. Thank you in advance.

customers/login.liquid

<div class="login_regester">
  <div class="container container-v2">
    <div class="row justify-content-between">      
      <div class="col-lg-5 login">
        <div class="CustomerLoginForm">
        <h1 class="mb-0 title_login text-center"><i class="mr-3 ti-user"></i>{{ 'customer.login.title' | t }}</h1>        
        {% form 'customer_login' %}
        {{ form.errors | default_errors }}
          <div class="form-group row">            
            <label for="staticEmail" class="col-sm-3 col-form-label">{{ 'customer.login.email' | t }} </label>
            <div class="col-sm-9">
              <input type="email"  class="form-control" name="customer[email]"  placeholder="{{ 'customer.login.email' | t }}" required>
            </div>
          </div>
        {% if form.password_needed %}
          <div class="form-group row">
            <label for="inputPassword" class="col-sm-3 col-form-label">{{ 'customer.login.password' | t }} </label>
            <div class="col-sm-9">
              <input type="password" class="form-control"  placeholder="{{ 'customer.login.password' | t }}" name="customer[password]" required>
            </div>
          </div>
        {% endif %}
          <div class="text-center mt-5">
            <button class="btn btn-dark" value="{{ 'customer.login.log_in' | t }}">
              {{ 'customer.login.log_in' | t }}
            </button>
          </div>
          <div class="forgot_pass_form mt-4 d-flex justify-content-center">
            <div class="leftx {% if settings.enable_rtl_mode %} pl-4 {% else %}pr-4 {% endif %} ">
               <a  href="/collections/all">{{ 'customer.login.cancel' | t }}</a>
            </div>
           
            {% if form.password_needed %}
            <div class="rightx">
            <a href="#recover" class="RecoverPassword" data-recover-toggle >{{ 'customer.login.forgot_password' | t }}</a>
            </div>
            {% endif %}
          </div>
        </div>
        {% endform %} 
        
        {% form 'recover_customer_password' %}
         {{ form.errors | default_errors }}
         {% comment %}
         Assign variable to be used after timber.init() is run in theme.liquid
         {% endcomment %}
         {% if form.posted_successfully? %}
         {% assign resetPassword = true %}
         {% endif %}
         <div class="RecoverPasswordForm" style="display: none;">
           <div class="block-login">
             <h2 class="title24 text-center title-form-account"><i class="mr-3 ti-reload"></i>{{ 'customer.recover_password.title' | t }}</h2>
             <div class="form-group row">
               <label class="col-sm-3">{{ 'customer.login.email' | t }}</label>
               <div class="col-sm-9">
                 <input type="email" class="form-control" placeholder="{{ 'customer.login.email' | t }}" name="customer[email]" {% if form.email %} value="{{ form.email }}"{% endif %} required>
               </div>
             </div>
             <div class="text-center mt-5">
               <input type="submit" class="register-button" value="{{ 'customer.recover_password.submit' | t }}">
             </div>
             <div class="table-custom create-account">
               <div class="text-center mt-4">
                 <a class="HideRecoverPasswordLink" style="cursor: pointer;" class="color">{{ 'customer.recover_password.cancel' | t }}</a>
               </div>
             </div>
           </div>
         </div>
         {% endform %}
      </div>
      <div class="col-lg-1"></div>
      <div class="col-lg-5 register">
        <h1 class="mb-0 title_login text-center"><i class="mr-3 ti-pencil-alt"></i>{{ 'customer.register.title' | t }}</h1>
         {% form 'create_customer' %}
         {{ form.errors | default_errors }}

          <div class="form-group row">
            <label for="staticName" class="col-sm-3 col-form-label">Nome*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Nome" class="form-control" name="customer[first_name]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticLastName" class="col-sm-3 col-form-label">Cognome*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Cognome" class="form-control" name="customer[last_name]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticCF" class="col-sm-3 col-form-label">Codice Fiscale*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Codice Fiscale" class="form-control" name="customer[note][Codice Fiscale]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticPhone" class="col-sm-3 col-form-label">Telefono*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Telefono" class="form-control" name="customer[note][Telefono]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticAddress" class="col-sm-3 col-form-label">Indirizzo*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Indirizzo" class="form-control" name="customer[note][Indirizzo]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticProvince" class="col-sm-3 col-form-label">Provincia*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Provincia" class="form-control" name="customer[note][Provincia]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticCity" class="col-sm-3 col-form-label">Città*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="Città" class="form-control" name="customer[note][Città]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticCAP" class="col-sm-3 col-form-label">CAP*</label>
            <div class="col-sm-9">
              <input type="text" placeholder="CAP" class="form-control" name="customer[note][CAP]" required>
            </div>
          </div>
          <div class="form-group row">
            <label for="staticEmail" class="col-sm-3 col-form-label">{{ 'customer.register.email' | t }}*</label>
            <div class="col-sm-9">
              <input type="email" placeholder="{{ 'customer.register.email' | t }}" class="form-control" name="customer[email]" {% if form.email %} value="{{ form.email }}"{% endif %} required>
            </div>
          </div>
          <div class="form-group row">
            <label for="inputPassword" class="col-sm-3 col-form-label">{{ 'customer.register.password' | t }}*</label>
            <div class="col-sm-9">
              <input type="password" class="form-control" name="customer[password]" placeholder="{{ 'customer.register.password' | t }}" required>
            </div>
          </div>
          <div class="text-center mt-5">
            <button class="btn btn-dark" value="{{ 'customer.register.submit' | t }}">
              {{ 'customer.register.submit' | t }}
            </button>
          </div>
        {% endform %}
        <div class="forgot_pass mt-4 text-center">
          <a  href="/collections/all">{{ 'customer.login.cancel' | t }}</a>
        </div>
      </div>       
    </div>
  </div>
</div>

customers/reset_password.liquid

<!-- /templates/customers/reset_password.liquid -->
<div class="content-pages woocommerce">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <div class="text-center">

          <div class="form-vertical">
            {% form 'reset_customer_password' %}

            <h1>{{ 'customer.reset_password.title' | t }}</h1>

            <p>{{ 'customer.reset_password.subtext' | t: email: email }}</p>

            {{ form.errors | default_errors }}

            <label for="ResetPassword" class="hidden-label">{{ 'customer.reset_password.password' | t }}</label>
            <input type="password" value="" name="customer[password]" id="ResetPassword" class="input-full{% if form.errors contains 'password' %} error{% endif %}" placeholder="{{ 'customer.reset_password.password' | t }}">

            <label for="PasswordConfirmation" class="hidden-label">{{ 'customer.reset_password.password_confirm' | t }}</label>
            <input type="password" value="" name="customer[password_confirmation]" id="PasswordConfirmation" class="input-full{% if form.errors contains 'password_confirmation' %} error{% endif %}" placeholder="{{ 'customer.reset_password.password_confirm' | t }}">

            <div class="text-center">
              <input type="submit" class="btn btn--full" value="{{ 'customer.reset_password.submit' | t }}">
            </div>

            {% endform %}
          </div>

        </div>
      </div>
    </div>
  </div>
</div>