beego: fix the domain string
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, | ... | ... |
-
Please register or sign in to post a comment