mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
fix: complete 2.6.1 release updates
This commit is contained in:
1 parent
40739739b5
commit
6746cf64c3
8 files changed
+171
-54
No files matched your search
@@ -139,8 +139,11 @@ impl ConnectHandler<'_> {
|
||||
let mut gp_params = self.build_gp_params();
|
||||
gp_params.set_is_gateway(true);
|
||||
|
||||
let prelogin = prelogin(gateway, &gp_params, self.prelogin_options(true)).await?;
|
||||
let cred = self.obtain_credential(&prelogin, gateway, true).await?;
|
||||
let gateway_external_browser_allowed = true;
|
||||
let prelogin = prelogin(gateway, &gp_params, self.direct_gateway_prelogin_options()).await?;
|
||||
let cred = self
|
||||
.obtain_credential(&prelogin, gateway, gateway_external_browser_allowed)
|
||||
.await?;
|
||||
|
||||
let login_session = self
|
||||
.login_gateway(gateway, &cred, &gp_params, gateway_context.as_ref())
|
||||
|
||||
Reference in new issue
Block a user