]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/API2/User.pm
api: document default of token expiration date
[pve-access-control.git] / PVE / API2 / User.pm
index fb985dd7bdc884e1b1cbf292ab85e1e5f78329f8..7cde9fd3856dbfb35d96489f7381ba681a823ad6 100644 (file)
@@ -51,6 +51,7 @@ register_standard_option('token-expire', {
     type => 'integer',
     minimum => 0,
     optional => 1,
+    default => 'same as user',
 });
 register_standard_option('token-privsep', {
     description => "Restrict API token privileges with separate ACLs (default), or give full privileges of corresponding user.",