Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update SwiftFactory.php
Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception".
  • Loading branch information
skydiablo authored Feb 13, 2019
commit d06c25b9c88e5a5a4c5a2a83cbe60935c9f1ca37
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