From 63790c069fbca0c3548fdaa58148e6cefdf477d5 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 6 Jan 2025 18:23:41 +0200 Subject: Server and client now properly handle the same user logging in from different locations, fixed the issue where it'd only work for the first time by checking if the addresses match before remove the session --- internal/client/ui/ui.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/client/ui/ui.go') diff --git a/internal/client/ui/ui.go b/internal/client/ui/ui.go index 3ee0124..ab8b273 100644 --- a/internal/client/ui/ui.go +++ b/internal/client/ui/ui.go @@ -23,6 +23,8 @@ var Width int var Height int var Program *tea.Program +var NewAuth func() tea.Model + type ModelTransition struct { Model tea.Model } -- cgit v1.3.1