summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/posts.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-24 17:42:00 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-24 17:42:00 -0600
commit08811a6da78c3f1f973b8f50a337ff4dc4ed9e2c (patch)
tree3fc8fa9025dbdc8099ea145e232f8b25547204b5 /srv/src/http/tpl/posts.html
parent159638084e167047b86fd65382f50cd099d4eb48 (diff)
Replace CSRF token checking with Referer checking
Diffstat (limited to 'srv/src/http/tpl/posts.html')
-rw-r--r--srv/src/http/tpl/posts.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/srv/src/http/tpl/posts.html b/srv/src/http/tpl/posts.html
index 0609ff6..885018d 100644
--- a/srv/src/http/tpl/posts.html
+++ b/srv/src/http/tpl/posts.html
@@ -18,8 +18,6 @@
{{ define "body" }}
- {{ $csrfFormInput := .CSRFFormInput }}
-
<p style="text-align: center;">
<a href="{{ BlogURL "posts/" }}?edit">
<button>New Post</button>
@@ -44,7 +42,6 @@
action="{{ PostURL .ID }}?method=delete"
method="POST"
>
- {{ $csrfFormInput }}
<input type="submit" value="Delete" />
</form>
</td>
@@ -55,8 +52,6 @@
{{ template "posts-nextprev" . }}
- {{ template "load-csrf.html" . }}
-
{{ end }}
{{ template "base.html" . }}