Skip to content

Commit

Permalink
fix duplicated query pairs from login options
Browse files Browse the repository at this point in the history
  • Loading branch information
mh84 authored and ctron committed Mar 11, 2024
1 parent a4a6e03 commit 369c687
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,6 @@ where
let mut login_url = login_context.url;

login_url.query_pairs_mut().extend_pairs(options.query);
if let Some(options) = &config.default_login_options {
login_url
.query_pairs_mut()
.extend_pairs(options.query.clone());
}

// the next call will most likely navigate away from this page

Expand Down

0 comments on commit 369c687

Please sign in to comment.