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/settings_about.html | |
parent | 13d176318534d64c0f9c6a4875f4d19270b28ca6 (diff) |
Add missing CSRF tokens
Diffstat (limited to 'src/main/resources/templates/views/settings_about.html')
-rw-r--r-- | src/main/resources/templates/views/settings_about.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/templates/views/settings_about.html b/src/main/resources/templates/views/settings_about.html index 5e308671..94cd9058 100644 --- a/src/main/resources/templates/views/settings_about.html +++ b/src/main/resources/templates/views/settings_about.html @@ -2,6 +2,7 @@ {% block content %} <article> <form action="/settings" method="POST" enctype="multipart/form-data"> + <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" /> <p>Full name: <input type="text" name="fullname" value="{{ userinfo.fullName }}"/></p> <p>Country: <input type="text" name="country" value="{{ userinfo.country }}"/></p> <p>URL: <input type="text" name="url" value="{{ userinfo.url }}" size="32"/><br/> |