mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-13 21:05:25 +00:00
manager: add 'user tfa unlock' command
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8c7b80e44f
commit
cfc3b0ff7d
@ -257,5 +257,11 @@ fn tfa_commands() -> CommandLineInterface {
|
||||
.completion_cb("userid", pbs_config::user::complete_userid)
|
||||
.completion_cb("id", proxmox_backup::config::tfa::complete_tfa_id),
|
||||
)
|
||||
.insert(
|
||||
"unlock",
|
||||
CliCommand::new(&api2::access::user::API_METHOD_UNLOCK_TFA)
|
||||
.arg_param(&["userid"])
|
||||
.completion_cb("userid", pbs_config::user::complete_userid),
|
||||
)
|
||||
.into()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user