From 369c687de59dc7f6cdfcab6255101aeffda88faa Mon Sep 17 00:00:00 2001 From: mh84 Date: Sun, 10 Mar 2024 16:17:04 +0100 Subject: [PATCH] fix duplicated query pairs from login options --- src/agent/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/agent/mod.rs b/src/agent/mod.rs index 77cdb16..aebbb14 100644 --- a/src/agent/mod.rs +++ b/src/agent/mod.rs @@ -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