web: Using connect address in auth_url
Due to only using the `options.listen` address in the creation of the `auth_url` we aren't able to authenticate with an existing httpd instance if the instance isn't the default value.
This commit is contained in:
parent
ebdaf0edd9
commit
c4afd897f9
|
|
@ -166,7 +166,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|||
.query_pairs_mut()
|
||||
.append_pair("pk", &session.public_key.to_string())
|
||||
.append_pair("sig", &signature.to_string())
|
||||
.append_pair("addr", &options.listen.to_string());
|
||||
.append_pair("addr", &connect.to_string());
|
||||
|
||||
if options.open {
|
||||
#[cfg(target_os = "macos")]
|
||||
|
|
|
|||
Loading…
Reference in New Issue