summaryrefslogtreecommitdiff
path: root/templ/login.tpl
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-14 15:58:16 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-14 15:58:16 +0100
commit6544171b7a6eb2e0156b66a1ad4c58d3a6cacd86 (patch)
treec1ce0edd527024e8e03f113b0fb00c05cdfc37bc /templ/login.tpl
parent3194896b33500bab959147bac38ab4fb93dd55bb (diff)
downloadgosten-6544171b7a6eb2e0156b66a1ad4c58d3a6cacd86.tar.gz
gosten-6544171b7a6eb2e0156b66a1ad4c58d3a6cacd86.tar.bz2
gosten-6544171b7a6eb2e0156b66a1ad4c58d3a6cacd86.zip
CSRF handling
Diffstat (limited to '')
-rw-r--r--templ/login.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templ/login.tpl b/templ/login.tpl
index d704365..205b030 100644
--- a/templ/login.tpl
+++ b/templ/login.tpl
@@ -1,6 +1,7 @@
{{define "body"}}
<form action="/login" method="post">
{{inputs_and_errors_for . .Errors}}
+ {{.CsrfField}}
<button type="submit">Log In!</button>
</form>
{{end}} \ No newline at end of file