Skip to content

Commit

Permalink
Merge pull request moby#25346 from tonistiigi/mask-join-tokens
Browse files Browse the repository at this point in the history
Mask join tokens in daemon logs
  • Loading branch information
thaJeztah authored Aug 2, 2016
2 parents 6e19e7b + e3917c7 commit cfd2719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/middleware/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func maskSecretKeys(inp interface{}) {
if form, ok := inp.(map[string]interface{}); ok {
loop0:
for k, v := range form {
for _, m := range []string{"password", "secret"} {
for _, m := range []string{"password", "secret", "jointoken"} {
if strings.EqualFold(m, k) {
form[k] = "*****"
continue loop0
Expand Down

0 comments on commit cfd2719

Please sign in to comment.