From: Wolfgang Bumiller Date: Mon, 21 Mar 2022 14:29:12 +0000 (+0100) Subject: api: get user: declare token schema X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=031e388f88bae71c24429a1b4996d213b582458f api: get user: declare token schema Signed-off-by: Wolfgang Bumiller --- diff --git a/src/PVE/API2/User.pm b/src/PVE/API2/User.pm index 6495a12..3454554 100644 --- a/src/PVE/API2/User.pm +++ b/src/PVE/API2/User.pm @@ -323,6 +323,7 @@ __PACKAGE__->register_method ({ tokens => { optional => 1, type => 'object', + additionalProperties => get_standard_option('token-info'), }, }, type => "object"