Skip to content

Commit

Permalink
Fix #6233.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Nov 7, 2011
1 parent c41c9d0 commit f1d650f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/ch/cyberduck/core/sftp/SFTPSession.java
Expand Up @@ -185,6 +185,10 @@ protected void login(LoginController controller, final Credentials credentials)
if(credentials.isPublicKeyAuthentication()) {
if(this.loginUsingPublicKeyAuthentication(controller, credentials)) {
this.message(Locale.localizedString("Login successful", "Credentials"));
if(BookmarkCollection.defaultCollection().contains(host)) {
// Save private key in bookmark
BookmarkCollection.defaultCollection().collectionItemChanged(host);
}
return;
}
}
Expand Down

0 comments on commit f1d650f

Please sign in to comment.