Skip to content

Commit

Permalink
fix: passwords in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
richardcase committed Mar 15, 2021
1 parent fa81683 commit b37ccf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prompt/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func InputSensitiveAndSet(cfg config.ConfigurationSet, name, message string, req
if err := cfg.SetValue(name, enteredValue); err != nil {
return fmt.Errorf("setting %s config: %w", name, err)
}
zap.S().Debugw("resolved config item", "name", name, "value", enteredValue)
zap.S().Debugw("resolved sensitive config item", "name", name)

return nil
}
Expand Down

0 comments on commit b37ccf9

Please sign in to comment.