Skip to content

Commit

Permalink
Fix for secrets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Urethramancer committed Nov 10, 2023
1 parent 5f0f4b8 commit f5b38e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompter/prompter.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (pr *Prompter) Ask() error {
}
}

if len(t) > 0 {
if len(t) > 0 && !pr.Secret[i] {
t = t[:len(t)-1]
}

Expand Down

0 comments on commit f5b38e0

Please sign in to comment.