Fix ignore TLS errors

This commit is contained in:
Kevin Yue committed 2024-01-22 23:20:25 -05:00
1 parent c3bd7aeb93
commit 9655b735a1
5 files changed
+9 -7

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ pub async fn gateway_login(
) -> anyhow::Result<String> {
let login_url = format!("https://{}/ssl-vpn/login.esp", gateway);
let client = Client::builder()
.danger_accept_invalid_certs(gp_params.ignore_tls_errors())
.user_agent(gp_params.user_agent())
.build()?;