From bf2cfaf0ede0e9744408f52538fb4bcd87a6d5b8 Mon Sep 17 00:00:00 2001 From: r Date: Sat, 25 Jan 2020 10:07:06 +0000 Subject: Add CSRF protection --- templates/header.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/header.tmpl') diff --git a/templates/header.tmpl b/templates/header.tmpl index 571008a..e6e7f0d 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -4,6 +4,9 @@ + {{if .CSRFToken}} + + {{end}} {{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}} {{if .CustomCSS}} -- cgit v1.2.3