Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@

<body class="gradient{% if settings.animations_hover_elements != 'none' %} animate--hover-{{ settings.animations_hover_elements }}{% endif %}">
{% comment %} Define accessible pages {% endcomment %}
{%- if customer.tags contains 'b2b' or template contains 'customers/' or request.path == '/challenge' or request.path == '/pages/trade-login' -%}
{%- if customer.tags contains 'b2b' or template contains 'customers/' or request.path == '/challenge' or request.path == '/pages/b2b-login' -%}
{% assign showSiteForB2B = false %}
{% endif %}
{%- if showSiteForB2B == blank -%}
Expand Down Expand Up @@ -492,7 +492,7 @@
{% endcomment %}
{%- if showB2BLogin -%}
<script>
window.location.href = '/pages/trade-login';
window.location.href = '/pages/b2b-login';
</script>
{% endif %}
{% comment %} END {% endcomment %}
Expand Down
Loading