fixes, hopefully

This commit is contained in:
tyuXX 2026-10-10 20:48:03 +00:00
parent 7495e34ade
commit cbc24e7672
13 changed files with 449 additions and 78 deletions

View file

@ -194,8 +194,8 @@ public class Program
Console.WriteLine($"{Ansi.BrightGreen}Success! Welcome @{authResult.Username} [{authResult.Role}]{Ansi.Reset}");
// Save server to history
historyManager.SaveServer(serverUrl, info.ServerName, authResult.Username);
// Save server to history (with upgraded protocol if applicable)
historyManager.SaveServer(state.ServerUrl, info.ServerName, authResult.Username);
state.Token = authResult.Token;
state.CurrentUserId = authResult.UserId ?? "";