From 5b66c8d81e07f77ee824d54c5567ab0bb9a2834b Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 18 Dec 2025 14:31:58 -0500 Subject: [PATCH] fix: handle `ctrl+c` in hypercrush auth (#1665) --- internal/cmd/login.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/cmd/login.go b/internal/cmd/login.go index 334f32c7067d6820323363ea80a8978ae9229685..0d6c910f407e63d9a52e14878769a0381779cb46 100644 --- a/internal/cmd/login.go +++ b/internal/cmd/login.go @@ -75,8 +75,7 @@ func loginHyper() error { if !hyperp.Enabled() { return fmt.Errorf("hyper not enabled") } - ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) - defer cancel() + ctx := getLoginContext() resp, err := hyper.InitiateDeviceAuth(ctx) if err != nil {