reid hace 2 años
padre
commit
6b6473523f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      auth/auth.go

+ 1 - 0
auth/auth.go

@@ -56,6 +56,7 @@ func WsAuthCheck(conn *websocket.Conn) bool {
 	AuthenticatedClients.RLock()
 	defer AuthenticatedClients.RUnlock()
 	for _, con := range AuthenticatedClients.Conns {
+		fmt.Println(con) //debug
 		if con == conn {
 			config.Logger.Info("Client in auth map")
 			return true