From e7344492595b26fd7ae21b945d1bdfe2ef115f10 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 6 Jul 2025 00:51:33 +0300 Subject: Added terms of service (incomplete!!!!) to the server, and added authentication separation between API calls, actually authentication (nonce, and verification) is not implemented yet --- internal/client/ui/core/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/client/ui') diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go index 37ce613..8ff7810 100644 --- a/internal/client/ui/core/core.go +++ b/internal/client/ui/core/core.go @@ -280,7 +280,7 @@ func (m *Model) updateConnected(message tea.Msg) tea.Cmd { case *packet.Error: err := "new connection from another location, closing this one" - if msg.PktType == packet.PacketError && err == msg.Error { + if err == msg.Error { return ui.Transition(ui.NewAuth()) } -- cgit v1.3.1