Skip to content

Commit 4abd731

Browse files
committed
Copy tokens.
1 parent e262a6c commit 4abd731

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/ch/cyberduck/core/Credentials.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public Credentials() {
8282
public Credentials(final Credentials copy) {
8383
this.user = copy.user;
8484
this.password = copy.password;
85-
this.tokens = copy.tokens;
86-
this.oauth = copy.oauth;
85+
this.tokens = new TemporaryAccessTokens(copy.tokens);
86+
this.oauth = new OAuthTokens(copy.oauth);
8787
this.properties.putAll(copy.properties);
8888
this.identity = copy.identity;
8989
this.identityPassphrase = copy.identityPassphrase;

0 commit comments

Comments
 (0)