Merge pull request #1 from skydiablo/fix-expired-object-storage-auth-token
Update SwiftFactory.php
This commit is contained in:
commit
a8f4b3af42
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue