mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Audit the client token accessors (#2037)
This commit is contained in:
committed by
Jeff Mitchell
parent
ad5d270e58
commit
9a60bf2a50
@@ -49,6 +49,10 @@ func Hash(salter *salt.Salt, raw interface{}) error {
|
||||
s.ClientToken = fn(s.ClientToken)
|
||||
}
|
||||
|
||||
if s.ClientTokenAccessor != "" {
|
||||
s.ClientTokenAccessor = fn(s.ClientTokenAccessor)
|
||||
}
|
||||
|
||||
data, err := HashStructure(s.Data, fn)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user