summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-09-23 20:38:19 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-09-23 20:38:19 -0700
commit5d40790dcf2043d23a5a0323aaeb3dec417795d3 (patch)
tree9366b6406a8b02ed5afc9757257cc7a0004449c5 /templates
parent2e97098f0cfef8c4f6b855b116ebad3eb78a8846 (diff)
downloadroseh.moe-5d40790dcf2043d23a5a0323aaeb3dec417795d3.tar.zst
Add CSRF protection
Diffstat (limited to 'templates')
-rw-r--r--templates/note.html.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/note.html.template b/templates/note.html.template
index 0a88fd6..fe6d073 100644
--- a/templates/note.html.template
+++ b/templates/note.html.template
@@ -6,6 +6,7 @@
{{end}}
<form id="form" method="post">
+ <input type="hidden" name="csrf-token" value="{{.CSRFToken}}">
<div class="save-indicator-container">
<div id="save-indicator-wrapper">
{{block "saveIndicator" ""}}