198d6320 by slene

fix xsrf cookie path should use root

1 parent 1596aa7a
......@@ -318,7 +318,7 @@ func (c *Controller) XsrfToken() string {
} else {
expire = XSRFExpire
}
c.Ctx.SetCookie("_xsrf", token, expire)
c.Ctx.SetCookie("_xsrf", token, expire, "/")
}
c._xsrf_token = token
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!