c0d3cc6f by astaxie

beego: fix the domain string

1 parent f4147058
Showing 1 changed file with 1 additions and 1 deletions
...@@ -362,7 +362,7 @@ func initBeforeHttpRun() { ...@@ -362,7 +362,7 @@ func initBeforeHttpRun() {
362 `"sessionIDHashFunc":"` + SessionHashFunc + `",` + 362 `"sessionIDHashFunc":"` + SessionHashFunc + `",` +
363 `"sessionIDHashKey":"` + SessionHashKey + `",` + 363 `"sessionIDHashKey":"` + SessionHashKey + `",` +
364 `"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` + 364 `"enableSetCookie":` + strconv.FormatBool(SessionAutoSetCookie) + `,` +
365 `"domain":` + SessionDomain + `,` + 365 `"domain":"` + SessionDomain + `",` +
366 `"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}` 366 `"cookieLifeTime":` + strconv.Itoa(SessionCookieLifeTime) + `}`
367 } 367 }
368 GlobalSessions, err = session.NewManager(SessionProvider, 368 GlobalSessions, err = session.NewManager(SessionProvider,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!