mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Remember endpoint we authenticated against in returned SyncAuth (#2864)
* Include endpoint we authed against in response * Add self to contributors
This commit is contained in:
parent
91335b834f
commit
f447f89d07
2 changed files with 3 additions and 2 deletions
|
@ -152,6 +152,7 @@ Ben Olson <github.com/grepgrok>
|
|||
Akash Reddy <github.com/akashreddy03>
|
||||
Lucio Sauer <watermanpaint@posteo.net>
|
||||
Gustavo Sales <gustavosmendes14@gmail.com>
|
||||
Shawn M Moore <https://github.com/sartak>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@ impl Backend {
|
|||
let sync_fut = sync_login(
|
||||
input.username,
|
||||
input.password,
|
||||
input.endpoint,
|
||||
input.endpoint.clone(),
|
||||
self.web_client().clone(),
|
||||
);
|
||||
let abortable_sync = Abortable::new(sync_fut, abort_reg);
|
||||
|
@ -293,7 +293,7 @@ impl Backend {
|
|||
};
|
||||
ret.map(|a| anki_proto::sync::SyncAuth {
|
||||
hkey: a.hkey,
|
||||
endpoint: None,
|
||||
endpoint: input.endpoint,
|
||||
io_timeout_secs: None,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue