From 08811a6da78c3f1f973b8f50a337ff4dc4ed9e2c Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 24 May 2022 17:42:00 -0600 Subject: Replace CSRF token checking with Referer checking --- srv/src/http/tpl/assets.html | 6 ------ 1 file changed, 6 deletions(-) (limited to 'srv/src/http/tpl/assets.html') diff --git a/srv/src/http/tpl/assets.html b/srv/src/http/tpl/assets.html index 86e0ba5..41d470c 100644 --- a/srv/src/http/tpl/assets.html +++ b/srv/src/http/tpl/assets.html @@ -1,7 +1,5 @@ {{ define "body" }} -{{ $csrfFormInput := .CSRFFormInput }} -

Upload Asset

@@ -10,7 +8,6 @@

- {{ $csrfFormInput }}
@@ -37,7 +34,6 @@ method="POST" style="margin-bottom: 0;" > - {{ $csrfFormInput }} @@ -46,8 +42,6 @@ -{{ template "load-csrf.html" . }} - {{ end }} {{ template "base.html" . }} -- cgit v1.2.3