Merge pull request #10962 from nandahkrishna/env-passphrase
extend/ENV: make 'passphrase' sensitive
This commit is contained in:
commit
5e0b08dd01
@ -57,7 +57,7 @@ module EnvActivation
|
||||
|
||||
sig { params(key: T.any(String, Symbol)).returns(T::Boolean) }
|
||||
def sensitive?(key)
|
||||
key.match?(/(cookie|key|token|password)/i)
|
||||
key.match?(/(cookie|key|token|password|passphrase)/i)
|
||||
end
|
||||
|
||||
sig { returns(T::Hash[String, String]) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user