Fix a bug, that caused the app to crash if ssh passphrase is not set.
This commit is contained in:
parent
586e86052b
commit
4034050ce0
3 changed files with 3 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ class SettingsTableViewController: UITableViewController {
|
|||
gitCredential = GitCredential(
|
||||
credential: GitCredential.Credential.ssh(
|
||||
userName: username,
|
||||
password: Utils.getPasswordFromKeychain(name: "gitRepositorySSHPrivateKeyPassphrase")!,
|
||||
password: Utils.getPasswordFromKeychain(name: "gitRepositorySSHPrivateKeyPassphrase") ?? "",
|
||||
publicKeyFile: Globals.sshPublicKeyURL,
|
||||
privateKeyFile: Globals.sshPrivateKeyURL,
|
||||
passwordNotSetCallback: self.requestSshKeyPassword
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue