on main help sign in
fix: handle `ctrl+c` in hypercrush auth (#1665)
commit5b66c8d81e07f77ee824d54c5567ab0bb9a2834b authorChristian Rocha <christian@rocha.is> dateThu 18 Dec 2025, 14:31 (1 year ago) parent996539f
1 file changed+1−2
internal/cmd/login.go+1−2
internal/cmd/login.go+1−2
@@ -75,8 +75,7 @@ func loginHyper() error {
7575 if !hyperp.Enabled() {
7676 return fmt.Errorf("hyper not enabled")
7777 }
78− ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill)
79− defer cancel()
78+ ctx := getLoginContext()
8079
8180 resp, err := hyper.InitiateDeviceAuth(ctx)
8281 if err != nil {