aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/pm_sent.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-18 01:42:18 +0300
committerGravatar Vitaly Takmazov2022-12-18 01:42:18 +0300
commitc5abe180a8351279fddfb6a27050244272a9727d (patch)
tree9a1288e4f802d2cf8eca5174f1fa97adbeb93418 /src/main/resources/templates/views/pm_sent.html
parent13d176318534d64c0f9c6a4875f4d19270b28ca6 (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.html1
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>