mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
Merge fcc825723c into f9ae75ac4b
This commit is contained in:
commit
b94ca768d0
1 changed files with 1 additions and 5 deletions
|
|
@ -359,11 +359,7 @@ func (ah *AuthHandler) Run(ctx context.Context, am AuthMethod) error {
|
|||
})
|
||||
clientToUse = wrapClient
|
||||
}
|
||||
for key, values := range header {
|
||||
for _, value := range values {
|
||||
clientToUse.AddHeader(key, value)
|
||||
}
|
||||
}
|
||||
clientToUse.SetHeaders(header)
|
||||
|
||||
// This should only happen if there's no preloaded token (regular auto-auth login)
|
||||
// or if a preloaded token has expired and is now switching to auto-auth.
|
||||
|
|
|
|||
Loading…
Reference in a new issue