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
@@ -120,6 +120,7 @@ pub async fn retrieve_config(
let url = format!("{}/global-protect/getconfig.esp", portal);
let client = Client::builder()
.danger_accept_invalid_certs(gp_params.ignore_tls_errors())
.user_agent(gp_params.user_agent())
.build()?;