do not remove user on disconnect.
This commit is contained in:
parent
5699ad0bf9
commit
179a22476c
1 changed files with 0 additions and 3 deletions
|
|
@ -164,9 +164,6 @@ func (ws *WebSocketManagerCtx) Upgrade(w http.ResponseWriter, r *http.Request) e
|
|||
Msg("connection ended")
|
||||
|
||||
session.SetWebSocketConnected(false)
|
||||
|
||||
// TODO: Enable persistent user autentication.
|
||||
_ = ws.sessions.Delete(session.ID())
|
||||
}()
|
||||
|
||||
ws.handle(connection, session)
|
||||
|
|
|
|||
Loading…
Reference in a new issue