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/pm_sent.html | |
parent | 13d176318534d64c0f9c6a4875f4d19270b28ca6 (diff) |
Add missing CSRF tokens
Diffstat (limited to 'src/main/resources/templates/views/pm_sent.html')
-rw-r--r-- | src/main/resources/templates/views/pm_sent.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/templates/views/pm_sent.html b/src/main/resources/templates/views/pm_sent.html index f0af71d3..2f95dad1 100644 --- a/src/main/resources/templates/views/pm_sent.html +++ b/src/main/resources/templates/views/pm_sent.html @@ -1,6 +1,7 @@ {% extends "layouts/default" %} {% block content %} <form class="pmmsg"> + <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" /> <div class="newpm"> <div class="newpm-to">To: <input type="text" name="uname" placeholder="username" value="{{ uname }}"/></div> <div class="newpm-body"><textarea name="body" rows="2"></textarea></div> |