aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/layouts/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/layouts/login.html')
-rw-r--r--src/main/resources/templates/layouts/login.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/resources/templates/layouts/login.html b/src/main/resources/templates/layouts/login.html
index e89f6790..86eb45fa 100644
--- a/src/main/resources/templates/layouts/login.html
+++ b/src/main/resources/templates/layouts/login.html
@@ -266,6 +266,7 @@
<div id="signinform">
<form action="/login" method="POST">
<p class="err">{{ authErrorMessage | default('') }}</p>
+ <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" />
<input class="txt" type="text" name="username" placeholder='{{ i18n("messages","label.username") }}'
id="nickinput" autocomplete="username" />
<input class="txt" type="password" name="password"
@@ -277,4 +278,4 @@
</body>
-</html> \ No newline at end of file
+</html>