Merge pull request #14175 from skydiablo/master

Fix ObjectStorage expired token (v3)
This commit is contained in:
Morris Jobke 2019-03-05 18:59:45 +01:00 committed by GitHub
commit debd32b461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ class SwiftFactory {
}
if (!$hasValidCachedToken) {
unset($this->params['cachedToken']);
try {
list($token, $serviceUrl) = $authService->authenticate($this->params);
$this->cacheToken($token, $serviceUrl, $cacheKey);