Stack of changes to get gin, scs, nosurf running.

This commit is contained in:
2025-10-28 11:56:42 +00:00
parent 07117ba35e
commit 86be6479f1
65 changed files with 1890 additions and 1503 deletions

View File

@@ -1,7 +1,7 @@
{{ define "content" }}
<h2>Login</h2>
<form method="POST" action="/account/login" class="form">
{{ .CSRFField }}
<input type="hidden" name="csrf_token" value="{{ .CSRFToken }}">
<div class="mb-3">
<label for="username">Username:</label>
@@ -20,4 +20,4 @@
<button type="submit" class="btn btn-primary">Login</button>
</form>
{{ end }}
{{ end }}