summaryrefslogtreecommitdiffstats
path: root/templates/note.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-10-14 11:50:58 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-10-14 11:50:58 -0700
commitae0e116d90cc9b2e7e268e497a7838bc756e2087 (patch)
treeb6e759ca2d9491225abf4679d9817425a76ba956 /templates/note.html.template
parent21d7462b057838eb173145d79d2b9fd6c71e8053 (diff)
downloadroseh.moe-ae0e116d90cc9b2e7e268e497a7838bc756e2087.tar.zst
Revert "Remove CSRF tokens"
This reverts commit 21d7462b057838eb173145d79d2b9fd6c71e8053. This was a great idea, but tanjiro is still on Go 1.24
Diffstat (limited to 'templates/note.html.template')
-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 19da416..07c2d8e 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">
{{block "saveIndicator" ""}}
<span id="save-indicator">{{.}}</span>