diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-02 13:01:09 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-02 13:01:09 -0400 |
commit | 05a33107c98de3f0f6ba437abdfb7f3b15a64c26 (patch) | |
tree | 63268a1fd560aed82e7bb0c3df41c51548326645 /cmd/web.go | |
parent | 8b0e815d98a02ed271410c5491e7a879818ca995 (diff) | |
parent | f19fc230d43dfcdc1f04cf7fbf611650029892bb (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ func newMacaron() *macaron.Macaron { m.Use(csrf.Generate(csrf.Options{ Secret: setting.SecretKey, SetCookie: true, + Header: "X-Csrf-Token", })) m.Use(toolbox.Toolboxer(m, toolbox.Options{ HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{ |