mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 17:00:35 -04:00
review rework 2
This commit is contained in:
parent
2951428468
commit
ee71f8198a
1 changed files with 3 additions and 1 deletions
|
|
@ -343,7 +343,9 @@ func (m *ExpirationManager) RenewToken(req *logical.Request, source string, toke
|
|||
}
|
||||
|
||||
if resp.Auth == nil || !resp.Auth.LeaseEnabled() {
|
||||
return &logical.Response{}, nil
|
||||
return &logical.Response{
|
||||
Auth: resp.Auth,
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Attach the ClientToken
|
||||
|
|
|
|||
Loading…
Reference in a new issue