Skip to content

Commit

Permalink
remove token printout
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Sep 6, 2024
1 parent b4c39f5 commit fe278c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/cmd/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe278c0

Please sign in to comment.