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:
parent
ddf78dfbf3
commit
32893f1308
@ -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.',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user