aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-03-05 15:21:36 +0000
committerstuconnolly <stuart02@gmail.com>2011-03-05 15:21:36 +0000
commit57f129d6d503dc68aecc0ed458771d91f062290b (patch)
tree9a94ad691057a7cfc8a486dcb36b51410aa01ead /Source/SPConnectionController.m
parent32b7c4df28e2eb3a4a8bcb71b3faae4f173f016c (diff)
downloadsequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.tar.gz
sequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.tar.bz2
sequelpro-57f129d6d503dc68aecc0ed458771d91f062290b.zip
Fix bug that was incorrectly saving the wrong SSH password to the Keychain.
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m2
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];
}
}