mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 21:05:57 +00:00
cli: add 'tfa unlock' command
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
330b8dbbe1
commit
ddf78dfbf3
@ -206,6 +206,7 @@ our $cmddef = {
|
||||
tfa => {
|
||||
delete => [ __PACKAGE__, 'delete_tfa', ['userid'] ],
|
||||
list => [ __PACKAGE__, 'list_tfa', ['userid'] ],
|
||||
unlock => [ 'PVE::API2::User', 'unlock_tfa', ['userid'] ],
|
||||
},
|
||||
token => {
|
||||
add => [ 'PVE::API2::User', 'generate_token', ['userid', 'tokenid'], {}, $print_api_result, $PVE::RESTHandler::standard_output_options ],
|
||||
|
Loading…
Reference in New Issue
Block a user