fix: enhance gpauth to support browser authentication

This commit is contained in:
Kevin Yue committed 2024-08-15 13:14:08 +00:00
1 parent 9317430968
commit 57e20fe478
13 files changed
+171 -66

No files matched your search

+2
View File
@@ -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(&params)