From 79537467da16a6eb877df20f295a447037092903 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 20 Dec 2014 22:51:16 -0500 Subject: mirror fix and update --- cmd/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/web.go b/cmd/web.go index df7c96b123..1da1f2500b 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -136,7 +136,7 @@ func newMacaron() *macaron.Macaron { Provider: setting.SessionProvider, Config: *setting.SessionConfig, })) - m.Use(csrf.Generate(csrf.Options{ + m.Use(csrf.Csrfer(csrf.Options{ Secret: setting.SecretKey, SetCookie: true, Header: "X-Csrf-Token", -- cgit v1.2.3