mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
fix: enhance gpauth
to support browser authentication
This commit is contained in:
@@ -19,7 +19,7 @@ impl BrowserAuthenticator<'_> {
|
||||
pub fn new_with_browser<'a>(auth_request: &'a str, browser: &'a str) -> BrowserAuthenticator<'a> {
|
||||
BrowserAuthenticator {
|
||||
auth_request,
|
||||
browser: Some(browser),
|
||||
browser: if browser == "default" { None } else { Some(browser) },
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user