[pve-devel] r6296 - pve-access-control/trunk/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jul 14 06:16:59 CEST 2011


Author: dietmar
Date: 2011-07-14 06:16:59 +0200 (Thu, 14 Jul 2011)
New Revision: 6296

Modified:
   pve-access-control/trunk/PVE/API2/User.pm
Log:
make expire optional


Modified: pve-access-control/trunk/PVE/API2/User.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/User.pm	2011-07-13 12:07:56 UTC (rev 6295)
+++ pve-access-control/trunk/PVE/API2/User.pm	2011-07-14 04:16:59 UTC (rev 6296)
@@ -155,7 +155,7 @@
    	additionalProperties => 0,
 	properties => {
 	    enable => { type => 'boolean' },
-	    expire => { type => 'integer' },
+	    expire => { type => 'integer', optional => 1 },
 	    firstname => { type => 'string', optional => 1 },
 	    lastname => { type => 'string', optional => 1 },
 	    email => { type => 'string', optional => 1 },



More information about the pve-devel mailing list