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 %}{% 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 -%}
{% if childlink.title contains '[' %}
{{childlink.title | split: ‘[’ | first }}
-
{% for grandchildlink in linklists[grand_child_list_handle].links %}
-
{% if grandchildlink.title contains ‘[’ %}
{%- assign label = grandchildlink.title | split: ‘[’ | last | split: ‘]’ | first -%}
{%- assign bgc = grandchildlink.title | split: ‘(’ | last | split: ‘)’ | first -%}
{{grandchildlink.title | split: ‘[’ | first }}{{grandchildlink.title | split: '[' | last | split: ']' | first}}.label_menu-{{grandchildlink.title | handleize}}-{{forloop.index}}:before { border-top: 4px solid {{grandchildlink.title | split: '(' | last | split: ')' | first}}; } {% else %} {{grandchildlink.title | split: '[' | first }} {% endif %}
{% endfor %}
{{childlink.title}}
{% endif %} {% endfor %}{% endif %}
{% endfor %}