From b974bdc09e4d6e87bf04a52cfeb73ad88c30b0c3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 29 Jan 2020 10:02:52 +0100 Subject: [PATCH] api: document default of token expiration date Signed-off-by: Thomas Lamprecht --- PVE/API2/User.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/User.pm b/PVE/API2/User.pm index fb985dd..7cde9fd 100644 --- a/PVE/API2/User.pm +++ b/PVE/API2/User.pm @@ -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.",