projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee071a
)
api: get user: declare token schema
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Mon, 21 Mar 2022 14:29:12 +0000
(15:29 +0100)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/API2/User.pm
b/src/PVE/API2/User.pm
index 6495a12f225d28881468b1d6a791e131c7034645..34545546b530ff50044dff28f31b0d8ca881d600 100644
(file)
--- 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"