mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-27 00:46:13 -05:00
fix: enhance gpauth to support browser authentication
This commit is contained in:
13 files changed
+171
-66
No files matched your search
@@ -116,6 +116,8 @@ pub async fn prelogin(portal: &str, gp_params: &GpParams) -> anyhow::Result<Prel
|
||||
|
||||
let client = Client::try_from(gp_params)?;
|
||||
|
||||
info!("Perform prelogin, user_agent: {}", gp_params.user_agent());
|
||||
|
||||
let res = client
|
||||
.post(&prelogin_url)
|
||||
.form(¶ms)
|
||||
|
||||
Reference in new issue
Block a user