From 1c0f1b8bf6cd5ef701f57c33b5e8aef666a77d8d Mon Sep 17 00:00:00 2001 From: tanner Date: Fri, 1 Nov 2024 13:48:08 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20update=20token=20input=20to=20us?= =?UTF-8?q?e=20EchoMode=20for=20password=20masking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/cmd/auth/login/token/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/auth/login/token/token.go b/pkg/cmd/auth/login/token/token.go index 322a886..959860e 100644 --- a/pkg/cmd/auth/login/token/token.go +++ b/pkg/cmd/auth/login/token/token.go @@ -24,7 +24,7 @@ func CmdToken(cmd *cobra.Command, args []string) error { input := huh. NewInput(). Title("Enter your authentication token"). - Password(true). + EchoMode(huh.EchoModePassword). Placeholder("vulncheck_******************"). Value(&token)