feat: improved error handling and redirect on invalid session

This commit is contained in:
Björn Fromme
2026-03-16 12:00:55 +01:00
parent 4b95b12a7b
commit a6d2661562
7 changed files with 48 additions and 12 deletions
+2 -1
View File
@@ -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>
+2 -2
View File
@@ -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 %}