diff options
Diffstat (limited to 'internal/cmd/web.go')
-rw-r--r-- | internal/cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/web.go b/internal/cmd/web.go index 306a4439..30501bde 100644 --- a/internal/cmd/web.go +++ b/internal/cmd/web.go @@ -143,7 +143,7 @@ func newMacaron() *macaron.Macaron { })) m.Use(session.Sessioner(conf.SessionConfig)) m.Use(csrf.Csrfer(csrf.Options{ - Secret: conf.SecretKey, + Secret: conf.Security.SecretKey, Cookie: conf.CSRFCookieName, SetCookie: true, Header: "X-Csrf-Token", |