Der Umstieg auf Sessions ist weitgehend geglückt

This commit is contained in:
2023-10-28 08:01:34 +02:00
parent aded71394d
commit 5049db064c
11 changed files with 396 additions and 225 deletions

View File

@ -1,16 +1,17 @@
{{ define "content" }}
<h2>Login</h2>
<h2>Anmeldung</h2>
<form>
<label for="login-input">Code</label>
<input type="text" name="login" id="login-input" />
<input autocomplete="off" id="login-input" name="login" placeholder="Code" required type="text" />
<button type="submit" hx-post="/external-login/" hx-target="#content">
Anmelden
</button>
<div>
<button type="submit" hx-post="/internal-login/" hx-target="#content">
Intern
</button>
<button type="submit" hx-post="/internal-login/" hx-target="#content">
Intern
</button>
<button type="submit" hx-post="/external-login/" hx-target="#content">
Gast
</button>
</div>
</form>
{{ end }}