diff --git a/pass/Controllers/GitServerSettingTableViewController.swift b/pass/Controllers/GitServerSettingTableViewController.swift index 64a3f75..4e479dc 100644 --- a/pass/Controllers/GitServerSettingTableViewController.swift +++ b/pass/Controllers/GitServerSettingTableViewController.swift @@ -83,8 +83,9 @@ class GitServerSettingTableViewController: UITableViewController { authenticationMethod = "Password" authSSHKeyCell.accessoryType = .none authPasswordCell.accessoryType = .checkmark + } else { + authenticationMethod = "SSH Key" } - authenticationMethod = "SSH Key" } tableView.deselectRow(at: indexPath, animated: true) }