mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
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:
committed by
cloudhead
parent
bd65b57503
commit
60efd13ff3
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user