Not sure what I've done. I'm done. Please let me free

This commit is contained in:
2025-12-16 01:45:51 +01:00
parent cfebe0a535
commit 64776ea8d0
7 changed files with 55 additions and 12 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<div id="headerbar">
<div class="headerbar-left">
{% if loggedin %}
<button hx-get="/auth/sessioninfo" hx-target="#main-frame">Username</button>
<!--button hx-get="/auth/sessioninfo" hx-target="#main-frame">Username</button-->
<button onclick="if(confirm('Abmelden?')){location.href = '/auth/logout';}">Abmelden</button>
{% else %}
<button hx-get="/auth/login" hx-target="#main-frame">Anmelden</button>