aboutsummaryrefslogtreecommitdiff
path: root/internal/cmd/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd/web.go')
-rw-r--r--internal/cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/web.go b/internal/cmd/web.go
index 04067427..84c99184 100644
--- a/internal/cmd/web.go
+++ b/internal/cmd/web.go
@@ -154,7 +154,7 @@ func newMacaron() *macaron.Macaron {
}))
m.Use(csrf.Csrfer(csrf.Options{
Secret: conf.Security.SecretKey,
- Header: "X-Csrf-Token",
+ Header: "X-CSRF-Token",
Cookie: conf.Session.CSRFCookieName,
CookieDomain: conf.Server.URL.Hostname(),
CookiePath: conf.Server.Subpath,