summaryrefslogtreecommitdiff
path: root/templates/admin.html
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2025-10-13 00:08:25 +0900
committerhaturatu <taro@eyes4you.org>2025-10-13 00:08:25 +0900
commit15830af5b190cfb6f28e0bdf0f4bf110256ed9ef (patch)
treeefd3c4bdd00f8bea6df8ba2155015d18db5cfba2 /templates/admin.html
parent6515a6fd2b2d29a8f363c906148f3abf7cf982e9 (diff)
fix(csrf): js csrf support
Diffstat (limited to 'templates/admin.html')
-rw-r--r--templates/admin.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/admin.html b/templates/admin.html
index ac4ba94..c2f9488 100644
--- a/templates/admin.html
+++ b/templates/admin.html
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="csrf-token" content="{{.CSRFToken}}">
<title>Admin Dashboard</title>
<link rel="stylesheet" href="{{.Paths.Assets}}/css/style.css">
<link rel="stylesheet" href="{{.Paths.Assets}}/css/admin.css">