diff options
author | stuconnolly <stuart02@gmail.com> | 2011-03-05 15:21:36 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-03-05 15:21:36 +0000 |
commit | 57f129d6d503dc68aecc0ed458771d91f062290b (patch) | |
tree | 9a94ad691057a7cfc8a486dcb36b51410aa01ead | |
parent | 32b7c4df28e2eb3a4a8bcb71b3faae4f173f016c (diff) | |
download | sequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.tar.gz sequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.tar.bz2 sequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.zip |
Fix bug that was incorrectly saving the wrong SSH password to the Keychain.
-rw-r--r-- | Source/SPConnectionController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 49dcb542..258d442a 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1444,7 +1444,7 @@ static NSComparisonResult compareFavoritesUsingKey(id favorite1, id favorite2, v // Add the new keychain item if the password field has a value if ([[sshPasswordField stringValue] length]) { - [keychain addPassword:[sshPasswordField stringValue] forName:newKeychainName account:newKeychainAccount]; + [keychain addPassword:[sshSSHPasswordField stringValue] forName:newKeychainName account:newKeychainAccount]; } } |