mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
do not remove user on disconnect.
This commit is contained in:
parent
5699ad0bf9
commit
179a22476c
@ -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 New Issue
Block a user