diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-06 00:51:33 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-06 00:51:33 +0300 |
| commit | e7344492595b26fd7ae21b945d1bdfe2ef115f10 (patch) | |
| tree | d15598991805ef530be5332cf43f6ea629f7adaf /internal/client/ui/core/core.go | |
| parent | 8f8736d09efce46147ff37d4840fb424aa6cb7e4 (diff) | |
Added terms of service (incomplete!!!!) to the server, and added
authentication separation between API calls, actually authentication
(nonce, and verification) is not implemented yet
Diffstat (limited to 'internal/client/ui/core/core.go')
| -rw-r--r-- | internal/client/ui/core/core.go | 2 |
1 files changed, 1 insertions, 1 deletions
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()) } |
