From d06c25b9c88e5a5a4c5a2a83cbe60935c9f1ca37 Mon Sep 17 00:00:00 2001 From: Volker Date: Wed, 13 Feb 2019 12:26:27 +0100 Subject: [PATCH] Update SwiftFactory.php Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception". --- lib/private/Files/ObjectStore/SwiftFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php index 40b769d2b0..f6270d36e7 100644 --- a/lib/private/Files/ObjectStore/SwiftFactory.php +++ b/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);