Skip to content

Commit e6699ef

Browse files
committed
Set header
1 parent 7ff452b commit e6699ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ func NewMacaron() *macaron.Macaron {
221221
Header: "X-Csrf-Token",
222222
CookieDomain: setting.SessionConfig.Domain,
223223
CookiePath: setting.AppSubURL,
224+
SetHeader: true,
224225
}))
225226
m.Use(toolbox.Toolboxer(m, toolbox.Options{
226227
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{

0 commit comments

Comments
 (0)