Skip to content

Commit

Permalink
fix: fix input prompt for password (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvicentin authored Jul 15, 2024
1 parent 43d5438 commit 4339d84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tsuru/auth/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ import (

func nativeLogin(ctx *cmd.Context) error {
var email string

// Use raw output to avoid missing the input prompt messages
ctx.RawOutput()

if len(ctx.Args) > 0 {
email = ctx.Args[0]
} else {
Expand Down

0 comments on commit 4339d84

Please sign in to comment.