client/remote: allow using ApiToken + secret
in place of user + password. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
babab85b56
commit
34aa8e13b6
@ -163,7 +163,7 @@ fn mount(
|
||||
async fn mount_do(param: Value, pipe: Option<RawFd>) -> Result<Value, Error> {
|
||||
let repo = extract_repository_from_value(¶m)?;
|
||||
let archive_name = tools::required_string_param(¶m, "archive-name")?;
|
||||
let client = connect(repo.host(), repo.port(), repo.user())?;
|
||||
let client = connect(repo.host(), repo.port(), repo.auth_id())?;
|
||||
|
||||
let target = param["target"].as_str();
|
||||
|
||||
|
Reference in New Issue
Block a user