diff options
author | Vitaly Takmazov | 2022-12-20 16:58:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-20 16:58:42 +0300 |
commit | 1d1924a5c85775721a89378ca39a712f336b8f74 (patch) | |
tree | 8edf5478e0bccb15b69288766fe1efc9e02e5218 /src/main/resources/templates/views/settings_about.html | |
parent | f0e10dc93f400e8ba979760a1c7af9d6e53cd1ef (diff) |
Disable CSRF entirely
Diffstat (limited to 'src/main/resources/templates/views/settings_about.html')
-rw-r--r-- | src/main/resources/templates/views/settings_about.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/settings_about.html b/src/main/resources/templates/views/settings_about.html index 846a3d11..5e308671 100644 --- a/src/main/resources/templates/views/settings_about.html +++ b/src/main/resources/templates/views/settings_about.html @@ -1,7 +1,7 @@ {% extends "layouts/default" %} {% block content %} <article> - <form action="/settings?{{_csrf.parameterName}}={{_csrf.token}}" method="POST" enctype="multipart/form-data"> + <form action="/settings" method="POST" enctype="multipart/form-data"> <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/> |