mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 22:21:30 +01:00
command/auth: add newline so reading token doesn't output
This commit is contained in:
parent
fd9a7460e8
commit
838843e48c
@ -56,6 +56,7 @@ func (c *AuthCommand) Run(args []string) int {
|
||||
// No arguments given, read the token from user input
|
||||
fmt.Printf("Token (will be hidden): ")
|
||||
token, err = password.Read(os.Stdin)
|
||||
fmt.Printf("\n")
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf(
|
||||
"Error attempting to ask for token. The raw error message\n"+
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user