Stack of changes to get gin, scs, nosurf running.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user