parent
3c96a37162
commit
c1e30c9a84
1 changed files with 9 additions and 7 deletions
|
@ -89,6 +89,8 @@ func NewMacaron() *macaron.Macaron {
|
|||
Names: setting.Names,
|
||||
DefaultLang: "en-US",
|
||||
Redirect: false,
|
||||
CookieHttpOnly: true,
|
||||
Secure: setting.SessionConfig.Secure,
|
||||
CookieDomain: setting.SessionConfig.Domain,
|
||||
}))
|
||||
m.Use(cache.Cacher(cache.Options{
|
||||
|
|
Reference in a new issue