fix: handle `ctrl+c` in hypercrush auth (#1665)

Christian Rocha created

Change summary

internal/cmd/login.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Detailed changes

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 {