summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
index 12f27eb..b2f847c 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -10,6 +10,7 @@
<div class="container form-container">
<h2>Login Required</h2>
<form id="login-form" action="{{.Paths.Login}}" method="post">
+ <input type="hidden" name="gorilla.csrf.Token" value="{{.CSRFToken}}">
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>