aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/signup.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/views/signup.html')
-rw-r--r--src/main/resources/templates/views/signup.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/templates/views/signup.html b/src/main/resources/templates/views/signup.html
index d3742734..ad5f8dfb 100644
--- a/src/main/resources/templates/views/signup.html
+++ b/src/main/resources/templates/views/signup.html
@@ -14,6 +14,7 @@
<h2 class="signup-h2">Связать с существующим аккаунтом Juick</h2>
<form action="/signup" method="post">
+ <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" />
<input type="hidden" name="action" value="link"/>
<input type="hidden" name="type" value="{{ type }}"/>
<input type="hidden" name="hash" value="{{ hash }}"/>
@@ -31,6 +32,7 @@
<h2 class="signup-h2">Создать новый аккаунт Juick</h2>
<form action="/signup" method="post">
+ <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" />
<input type="hidden" name="action" value="new"/>
<input type="hidden" name="type" value="{{ type }}"/>
<input type="hidden" name="hash" value="{{ hash }}"/>