From fe278c00605cc8c8adc8e9bba6ae83b890272ff9 Mon Sep 17 00:00:00 2001 From: filip Date: Fri, 6 Sep 2024 13:17:58 +0200 Subject: [PATCH] remove token printout --- internal/cmd/login/login.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/cmd/login/login.go b/internal/cmd/login/login.go index cd9d4426..b63f85ff 100644 --- a/internal/cmd/login/login.go +++ b/internal/cmd/login/login.go @@ -24,14 +24,13 @@ func NewLoginCmd(authenticator login.IAuthenticator) *cobra.Command { func RunE(a login.IAuthenticator) func(_ *cobra.Command, args []string) error { return func(cmd *cobra.Command, _ []string) error { - token, err := login.AuthToken() + _, err := login.AuthToken() if err != nil { return err } fmt.Printf( - "%s Successfully authenticated\nToken=%s", + "%s Successfully authenticated", color.GreenString("✔"), - color.BlueString(token), ) return nil