diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-24 17:42:00 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-24 17:42:00 -0600 |
commit | 08811a6da78c3f1f973b8f50a337ff4dc4ed9e2c (patch) | |
tree | 3fc8fa9025dbdc8099ea145e232f8b25547204b5 /srv/src/http/tpl/assets.html | |
parent | 159638084e167047b86fd65382f50cd099d4eb48 (diff) |
Replace CSRF token checking with Referer checking
Diffstat (limited to 'srv/src/http/tpl/assets.html')
-rw-r--r-- | srv/src/http/tpl/assets.html | 6 |
1 files changed, 0 insertions, 6 deletions
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 }} - <h2>Upload Asset</h2> <p> @@ -10,7 +8,6 @@ </p> <form action="{{ BlogURL "assets/" }}" method="POST" enctype="multipart/form-data"> - {{ $csrfFormInput }} <div class="row"> <div class="four columns"> <input type="text" placeholder="Unique ID" name="id" /> @@ -37,7 +34,6 @@ method="POST" style="margin-bottom: 0;" > - {{ $csrfFormInput }} <input type="submit" value="Delete" /> </form> </td> @@ -46,8 +42,6 @@ </table> -{{ template "load-csrf.html" . }} - {{ end }} {{ template "base.html" . }} |