Browse Source
Merge pull request #14175 from skydiablo/master
Fix ObjectStorage expired token (v3)
pull/14579/head
Morris Jobke
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
lib/private/Files/ObjectStore/SwiftFactory.php
|
|
|
@ -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); |
|
|
|
|