5
0
mirror of git://git.proxmox.com/git/pve-access-control.git synced 2025-01-06 13:17:54 +03:00

tfa: update list_tfa return schema

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-06-01 12:26:10 +02:00
parent ddf78dfbf3
commit 32893f1308

View File

@ -290,6 +290,17 @@ __PACKAGE__->register_method ({
type => 'array',
items => $TYPED_TFA_ENTRY_SCHEMA,
},
'totp-locked' => {
type => 'boolean',
optional => 1,
description => 'True if the user is currently locked out of TOTP factors.',
},
'tfa-locked-until' => {
type => 'integer',
optional => 1,
description =>
'Contains a timestamp until when a user is locked out of 2nd factors.',
},
},
},
},