diff --git a/internal/websocket/manager.go b/internal/websocket/manager.go index 6404cdad..ff4c5588 100644 --- a/internal/websocket/manager.go +++ b/internal/websocket/manager.go @@ -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)