aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
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/extend
parent3f8f2c672632d74c188adab5d7fdc879ef0c008a (diff)
downloadbrew-9358f678a3c0a7ee6b64078cc9393d0c5347a17c.tar.bz2
Clear/mask passwords as well as tokens.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index ea1b99501..374be49b9 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -29,7 +29,7 @@ module EnvActivation
def clear_sensitive_environment!
ENV.each_key do |key|
- next unless /(cookie|key|token)/i =~ key
+ next unless /(cookie|key|token|password)/i =~ key
ENV.delete key
end
end