mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 17:30:56 +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 + `",` +
|
||||
`"sessionIDHashKey":"` + SessionHashKey + `",` +
|
||||
`"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` +
|
||||
`"domain":` + SessionDomain + `,` +
|
||||
`"domain":"` + SessionDomain + `",` +
|
||||
`"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}`
|
||||
}
|
||||
GlobalSessions, err = session.NewManager(SessionProvider,
|
||||
|
Loading…
Reference in New Issue
Block a user