Skip to content

Commit 161ed38

Browse files
committed
Persist tokens for save in keychain.
1 parent de5766b commit 161ed38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdav/src/main/java/ch/cyberduck/core/dav/DAVSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected void logout() throws BackgroundException {
139139
public void login(final LoginCallback prompt, final CancelCallback cancel) throws BackgroundException {
140140
final Credentials credentials = host.getCredentials();
141141
if(host.getProtocol().isOAuthConfigurable()) {
142-
authorizationService.validate(credentials.getOauth());
142+
credentials.setOauth(authorizationService.validate(credentials.getOauth()));
143143
}
144144
if(host.getProtocol().isPasswordConfigurable()) {
145145
final String domain, username;

0 commit comments

Comments
 (0)