Skip to content

Commit debd32b

Browse files
authored
Merge pull request #14175 from skydiablo/master
Fix ObjectStorage expired token (v3)
2 parents a4b34ab + a8f4b3a commit debd32b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/private/Files/ObjectStore/SwiftFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ private function auth($authService, string $cacheKey) {
174174
}
175175

176176
if (!$hasValidCachedToken) {
177+
unset($this->params['cachedToken']);
177178
try {
178179
list($token, $serviceUrl) = $authService->authenticate($this->params);
179180
$this->cacheToken($token, $serviceUrl, $cacheKey);

0 commit comments

Comments
 (0)