Merge pull request #14175 from skydiablo/master
Fix ObjectStorage expired token (v3)
This commit is contained in:
commit
debd32b461
|
@ -174,6 +174,7 @@ class SwiftFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$hasValidCachedToken) {
|
if (!$hasValidCachedToken) {
|
||||||
|
unset($this->params['cachedToken']);
|
||||||
try {
|
try {
|
||||||
list($token, $serviceUrl) = $authService->authenticate($this->params);
|
list($token, $serviceUrl) = $authService->authenticate($this->params);
|
||||||
$this->cacheToken($token, $serviceUrl, $cacheKey);
|
$this->cacheToken($token, $serviceUrl, $cacheKey);
|
||||||
|
|
Loading…
Reference in New Issue