summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker <skydiablo@gmx.net>2019-02-13 12:26:27 +0100
committerGitHub <noreply@github.com>2019-02-13 12:26:27 +0100
commitd06c25b9c88e5a5a4c5a2a83cbe60935c9f1ca37 (patch)
tree5c88c0de720c8dd966ea8b072c8a57a922b228c8
parent3d804ea15d0c8fd223ea9ff698c7fec70d420b35 (diff)
downloadnextcloud-server-d06c25b9c88e5a5a4c5a2a83cbe60935c9f1ca37.tar.gz
nextcloud-server-d06c25b9c88e5a5a4c5a2a83cbe60935c9f1ca37.zip
Update SwiftFactory.php
Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception".
-rw-r--r--lib/private/Files/ObjectStore/SwiftFactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/SwiftFactory.php b/lib/private/Files/ObjectStore/SwiftFactory.php
index 40b769d2b06..f6270d36e7a 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);