mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 10:51:30 +00:00
beego: fix the domain string
This commit is contained in:
parent
f4147058fc
commit
c0d3cc6fc5
2
beego.go
2
beego.go
@ -362,7 +362,7 @@ func initBeforeHttpRun() {
|
|||||||
`"sessionIDHashFunc":"` + SessionHashFunc + `",` +
|
`"sessionIDHashFunc":"` + SessionHashFunc + `",` +
|
||||||
`"sessionIDHashKey":"` + SessionHashKey + `",` +
|
`"sessionIDHashKey":"` + SessionHashKey + `",` +
|
||||||
`"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` +
|
`"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` +
|
||||||
`"domain":` + SessionDomain + `,` +
|
`"domain":"` + SessionDomain + `",` +
|
||||||
`"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}`
|
`"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}`
|
||||||
}
|
}
|
||||||
GlobalSessions, err = session.NewManager(SessionProvider,
|
GlobalSessions, err = session.NewManager(SessionProvider,
|
||||||
|
Loading…
Reference in New Issue
Block a user