Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezk committed Oct 31, 2024
2 parents 516d685 + 6542d67 commit 2dc7f97
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 19 deletions.
184 changes: 169 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion crates/gpapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ which.workspace = true
tauri = { workspace = true, optional = true }
clap = { workspace = true, optional = true }
open = { version = "5", optional = true }
webbrowser = { version = "1", optional = true }

[features]
tauri = ["dep:tauri"]
clap = ["dep:clap"]
browser-auth = ["dep:open"]
browser-auth = ["dep:open", "dep:webbrowser"]
4 changes: 3 additions & 1 deletion crates/gpapi/src/portal/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ pub async fn retrieve_config(portal: &str, cred: &Credential, gp_params: &GpPara
});

let user_auth_cookie = root.descendant_text("portal-userauthcookie").unwrap_or_default();
let prelogon_user_auth_cookie = root.descendant_text("portal-prelogonuserauthcookie").unwrap_or_default();
let prelogon_user_auth_cookie = root
.descendant_text("portal-prelogonuserauthcookie")
.unwrap_or_default();
let config_digest = root.descendant_text("config-digest");

if gateways.is_empty() {
Expand Down
Loading

0 comments on commit 2dc7f97

Please sign in to comment.