aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/system_config.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-11-07 07:47:50 +0000
committerMike McQuaid2017-11-07 07:54:34 +0000
commit9358f678a3c0a7ee6b64078cc9393d0c5347a17c (patch)
treefd7c12330b5dbc0aee406b1517a47a663cd34e00 /Library/Homebrew/system_config.rb
parent3f8f2c672632d74c188adab5d7fdc879ef0c008a (diff)
downloadbrew-9358f678a3c0a7ee6b64078cc9393d0c5347a17c.tar.bz2
Clear/mask passwords as well as tokens.
Diffstat (limited to 'Library/Homebrew/system_config.rb')
-rw-r--r--Library/Homebrew/system_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb
index e7e60c985..86b7051fa 100644
--- a/Library/Homebrew/system_config.rb
+++ b/Library/Homebrew/system_config.rb
@@ -207,7 +207,7 @@ class SystemConfig
next unless key.start_with?("HOMEBREW_")
next if boring_keys.include?(key)
next if defaults_hash[key.to_sym] == value
- value = "set" if key =~ /(cookie|key|token)/i
+ value = "set" if key =~ /(cookie|key|token|password)/i
f.puts "#{key}: #{value}"
end
f.puts hardware if hardware