summaryrefslogtreecommitdiffstats
path: root/templates/login.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html.template')
-rw-r--r--templates/login.html.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/login.html.template b/templates/login.html.template
index 8d1ec9b..a197e8e 100644
--- a/templates/login.html.template
+++ b/templates/login.html.template
@@ -5,6 +5,7 @@
<p class="login-error">Incorrect password</p>
{{end}}
<form class="password-form" action="/login" method="post">
+ <input type="hidden" name="csrf-token" value="{{.CSRFToken}}">
<input type="hidden" name="redirect" value="{{.Redirect}}">
<label class="password-label" for="password">Enter password</label>
<input id="password" class="password" type="password" name="password" autofocus>