fix a bug in authentication method
This commit is contained in:
parent
fd8b9e4aac
commit
cdf6d7ee71
1 changed files with 2 additions and 1 deletions
|
|
@ -83,8 +83,9 @@ class GitServerSettingTableViewController: UITableViewController {
|
||||||
authenticationMethod = "Password"
|
authenticationMethod = "Password"
|
||||||
authSSHKeyCell.accessoryType = .none
|
authSSHKeyCell.accessoryType = .none
|
||||||
authPasswordCell.accessoryType = .checkmark
|
authPasswordCell.accessoryType = .checkmark
|
||||||
|
} else {
|
||||||
|
authenticationMethod = "SSH Key"
|
||||||
}
|
}
|
||||||
authenticationMethod = "SSH Key"
|
|
||||||
}
|
}
|
||||||
tableView.deselectRow(at: indexPath, animated: true)
|
tableView.deselectRow(at: indexPath, animated: true)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue