mirror of
https://github.com/iterate-ch/cyberduck.git
synced 2026-05-26 19:10:49 +00:00
Save updated OAuth tokens after refresh.
This commit is contained in:
@@ -122,6 +122,7 @@ public class OAuth2AuthorizationService {
|
||||
log.warn(String.format("Refresh expired access tokens %s", saved));
|
||||
// Refresh expired access key
|
||||
try {
|
||||
credentials.setSaved(true);
|
||||
return this.refresh(saved);
|
||||
}
|
||||
catch(LoginFailureException | InteroperabilityException e) {
|
||||
|
||||
Reference in New Issue
Block a user