This commit is contained in:
parent
5668598ea6
commit
deab5e6507
|
@ -118,7 +118,7 @@ func WSHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
httpSession.Options.MaxAge = conf.Wide.HTTPSessionMaxAge
|
httpSession.Options.MaxAge = conf.Wide.HTTPSessionMaxAge
|
||||||
httpSession.Save(r, w)
|
httpSession.Save(r, w)
|
||||||
|
|
||||||
WideSessions.New(httpSession, sid)
|
wSession = WideSessions.New(httpSession, sid)
|
||||||
|
|
||||||
glog.Infof("Created a wide session [%s] for websocket reconnecting, user [%s]", sid, wSession.Username)
|
glog.Infof("Created a wide session [%s] for websocket reconnecting, user [%s]", sid, wSession.Username)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue