How to prevent multiple logins from the same customer account?

Hello. I have a problem, after the customer is logging in it shows me continiously the logging form, so I can log in many times and that is not ok. How can I solve this? After the customer is logged in to not give him the possibility to log in again?

I attach to you the code from menu

{% if settings.logo_svgmobile != blank %}

{% else %} {% if settings.logo_mobile != blank %} logo {% else %} {% endif %} {% endif %}
{% if settings.hd_icon_search_mb_svg != blank %}{{settings.hd_icon_search_mb_svg}}{% else %}{% endif %} {% if settings.hd_icon_cart_mb_svg != blank %}{{settings.hd_icon_cart_mb_svg}} {% else %}{% endif %} {{cart.item_count }}

{% assign i = 1 %}

{% assign main_menu = settings.main_menu_store %}
{% for link in linklists[main_menu].links %}
{% assign item = link.title | downcase %}
{% assign child_list_handle = link.title | handleize %}

{% if linklists[child_list_handle].links != blank %}

{% if link.title contains ‘[’ %}
{%- assign label = link.title | split: ‘[’ | last | split: ‘]’ | first -%}
{%- assign bgc = link.title | split: ‘(’ | last | split: ‘)’ | first -%}

{{link.title | split: ‘[’ | first }}
<span class=“absolute label_menu label_menu-{{link.title | handleize}}-{{forloop.index}}” {% if link.title contains ‘(’ %}style=“background-color: {{link.title | split: ‘(’ | last | split: ‘)’ | first}};”{% endif %}>{{link.title | split: ‘[’ | last | split: ‘]’ | first}}

.label_menu-{{link.title | handleize}}-{{forloop.index}}:before { border-top: 4px solid {{link.title | split: '(' | last | split: ')' | first}}; } {% else %} {{link.title | split: '[' | first }} {% endif %}
{% if settings.enable_rtl_mode %} {{link.title | split: '[' | first }} {% else %} {{link.title | split: '[' | first }} {% endif %} {% for childlink in linklists[child_list_handle].links %} {% assign grand_child_list_handle = childlink.title | handle %} {% if linklists[grand_child_list_handle].links != blank %}

{% if childlink.title contains '[' %}

{{childlink.title | split: ‘[’ | first }}

{{childlink.title | split: '[' | last | split: ']' | first}}
.label_menu-{{childlink.title | handleize}}-{{forloop.index}}:before { border-top: 4px solid {{childlink.title | split: '(' | last | split: ')' | first}}; }
{% else %} {{childlink.title | split: '[' | first }} {% endif %}

{% else %}

{{childlink.title}}

{% endif %} {% endfor %}
{% assign i= i| plus :1 %}
{% else %}
{% if link.title contains '[' %} {%- assign label = link.title | split: '[' | last | split: ']' | first -%} {%- assign bgc = link.title | split: '(' | last | split: ')' | first -%} {{link.title | split: '[' | first }}
{{link.title | split: '[' | last | split: ']' | first}}
.label_menu-{{link.title | handleize}}-{{forloop.index}}:before { border-top: 4px solid {{link.title | split: '(' | last | split: ')' | first}}; }
{% else %} {{link.title | split: '[' | first }} {% endif %}

{% endif %}
{% endfor %}

{% form 'customer_login' %} {{ form.errors | default_errors }}
{% if form.password_needed %}
{% endif %}
{% if form.password_needed %} {{ 'customer.login.forgot_password' | t }} {% endif %}
{{ 'customer.login.log_in' | t }} {% endform %}
{{ 'customer.login.or' | t }} {% if settings.enable_rtl_mode %} {% else %} {% endif %}
{% 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 %}

{{ 'customer.recover_password.title' | t }}

{% endform %}
{{ 'customer.register.title' | t }}
{% form 'create_customer' %} {{ form.errors | default_errors }}
{{ 'customer.register.submit' | t }} {% endform %}
{{ 'customer.login.or' | t }} {% if settings.enable_rtl_mode %} {% else %} {% endif %}
Close

I am facing the same issue! It started sometime between sunday and monday and my customers are stuck in a checkin loop after the first screen of checkout…