]> git.proxmox.com Git - pve-access-control.git/commitdiff
api: get user: declare token schema
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 21 Mar 2022 14:29:12 +0000 (15:29 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Mar 2022 15:08:21 +0000 (16:08 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/API2/User.pm

index 6495a12f225d28881468b1d6a791e131c7034645..34545546b530ff50044dff28f31b0d8ca881d600 100644 (file)
@@ -323,6 +323,7 @@ __PACKAGE__->register_method ({
            tokens => {
                optional => 1,
                type => 'object',
            tokens => {
                optional => 1,
                type => 'object',
+               additionalProperties => get_standard_option('token-info'),
            },
        },
        type => "object"
            },
        },
        type => "object"