Update SwiftFactory.php
Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception".
This commit is contained in:
parent
3d804ea15d
commit
d06c25b9c8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue