magic strings for login and logout

This commit is contained in:
2025-10-30 10:56:23 +01:00
parent 349d2cea6a
commit 793ddb17d6
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
<h1 class="text-3xl text-slate-400 font-bold">Tatort</h1>
<div class="lg:flex lg:justify-end w-48">
{#if data.user}
<form method="POST" action="{ROUTE_NAMES.ANMELDUNG_LOGOUT}">
<form method="POST" action="{ROUTE_NAMES.LOGOUT}">
<input type="hidden" />
<button type="submit" class="text-sm font-semibold leading-6 text-gray-900"
><span