Merge pull request #1 from skydiablo/fix-expired-object-storage-auth-token

Update SwiftFactory.php
This commit is contained in:
Volker 2019-02-13 12:27:37 +01:00 committed by GitHub
commit a8f4b3af42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);