From 3dd9f4c5b1a2092625d629902e7feb6159ad031a Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 22 Feb 2026 09:12:27 -0800 Subject: [PATCH] Keep existing token until auth login succeeds --- crates-cli/yaak-cli/src/commands/auth.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates-cli/yaak-cli/src/commands/auth.rs b/crates-cli/yaak-cli/src/commands/auth.rs index b724da8b..70d7fb28 100644 --- a/crates-cli/yaak-cli/src/commands/auth.rs +++ b/crates-cli/yaak-cli/src/commands/auth.rs @@ -79,7 +79,6 @@ pub async fn run(args: AuthArgs) -> i32 { async fn login() -> CommandResult { let environment = current_environment(); - delete_auth_token(environment)?; let listener = TcpListener::bind("127.0.0.1:0") .await