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

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Jul 4 08:40:23 CEST 2011


Author: dietmar
Date: 2011-07-04 08:40:23 +0200 (Mon, 04 Jul 2011)
New Revision: 6227

Modified:
   pve-access-control/trunk/PVE/API2/User.pm
Log:
use 'email-opt'


Modified: pve-access-control/trunk/PVE/API2/User.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/User.pm	2011-07-04 06:29:34 UTC (rev 6226)
+++ pve-access-control/trunk/PVE/API2/User.pm	2011-07-04 06:40:23 UTC (rev 6227)
@@ -82,7 +82,7 @@
 	    groups => { type => 'string', optional => 1, format => 'pve-groupid-list'},
 	    firstname => { type => 'string', optional => 1 },
 	    lastname => { type => 'string', optional => 1 },
-	    email => { type => 'string', optional => 1, format => 'email' },
+	    email => { type => 'string', optional => 1, format => 'email-opt' },
 	    comment => { type => 'string', optional => 1 },
 	    expire => { 
 		description => "Account expiration date (seconds since epoch). '0' means no expiration date.",



More information about the pve-devel mailing list