Skip to content

Commit

Permalink
Merge pull request #14175 from skydiablo/master
Browse files Browse the repository at this point in the history
Fix ObjectStorage expired token (v3)
  • Loading branch information
MorrisJobke authored Mar 5, 2019
2 parents a4b34ab + a8f4b3a commit debd32b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Files/ObjectStore/SwiftFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ private function auth($authService, string $cacheKey) {
}

if (!$hasValidCachedToken) {
unset($this->params['cachedToken']);
try {
list($token, $serviceUrl) = $authService->authenticate($this->params);
$this->cacheToken($token, $serviceUrl, $cacheKey);
Expand Down

0 comments on commit debd32b

Please sign in to comment.