diff options
author | Vitaly Takmazov | 2022-12-18 01:42:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-18 01:42:18 +0300 |
commit | c5abe180a8351279fddfb6a27050244272a9727d (patch) | |
tree | 9a1288e4f802d2cf8eca5174f1fa97adbeb93418 /src/main/resources/templates/views/signup.html | |
parent | 13d176318534d64c0f9c6a4875f4d19270b28ca6 (diff) |
Add missing CSRF tokens
Diffstat (limited to 'src/main/resources/templates/views/signup.html')
-rw-r--r-- | src/main/resources/templates/views/signup.html | 2 |
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 }}"/> |