feat: improved error handling and redirect on invalid session
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
messages: errorMessages
|
||||
} %}
|
||||
|
||||
<a href="{{ returnUrl }}" class="button button--secondary">
|
||||
{# hx-boost disabled for cross-origin #}
|
||||
<a href="{{ returnUrl }}" hx-boost="false" class="button button--secondary">
|
||||
Zurück
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
{# Guest user - show simple homepage link #}
|
||||
<a href="{{ returnUrl }}" class="button button--primary">
|
||||
{# Guest user - show simple homepage link (hx-boost disabled for cross-origin) #}
|
||||
<a href="{{ returnUrl }}" hx-boost="false" class="button button--primary">
|
||||
Zurück
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user