]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/client/pull.rs
client/remote: allow using ApiToken + secret
[proxmox-backup.git] / src / client / pull.rs
index 7cb8d8e1a3d002a8573f48f47240353b58fd3b75..a80b10dcad5373727a4c4e9225322d6d1273ae92 100644 (file)
@@ -451,7 +451,7 @@ pub async fn pull_group(
             .password(Some(auth_info.ticket.clone()))
             .fingerprint(fingerprint.clone());
 
-        let new_client = HttpClient::new(src_repo.host(), src_repo.port(), src_repo.user(), options)?;
+        let new_client = HttpClient::new(src_repo.host(), src_repo.port(), src_repo.auth_id(), options)?;
 
         let reader = BackupReader::start(
             new_client,