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 {