mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-05 20:32:15 +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 => {
|
tfa => {
|
||||||
delete => [ __PACKAGE__, 'delete_tfa', ['userid'] ],
|
delete => [ __PACKAGE__, 'delete_tfa', ['userid'] ],
|
||||||
list => [ __PACKAGE__, 'list_tfa', ['userid'] ],
|
list => [ __PACKAGE__, 'list_tfa', ['userid'] ],
|
||||||
|
unlock => [ 'PVE::API2::User', 'unlock_tfa', ['userid'] ],
|
||||||
},
|
},
|
||||||
token => {
|
token => {
|
||||||
add => [ 'PVE::API2::User', 'generate_token', ['userid', 'tokenid'], {}, $print_api_result, $PVE::RESTHandler::standard_output_options ],
|
add => [ 'PVE::API2::User', 'generate_token', ['userid', 'tokenid'], {}, $print_api_result, $PVE::RESTHandler::standard_output_options ],
|
||||||
|
Loading…
Reference in New Issue
Block a user