[pve-devel] r5769 - in pve-access-control/trunk: . PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Mar 30 07:10:17 CEST 2011


Author: dietmar
Date: 2011-03-30 07:10:16 +0200 (Wed, 30 Mar 2011)
New Revision: 5769

Modified:
   pve-access-control/trunk/ChangeLog
   pve-access-control/trunk/PVE/API2/AccessControl.pm
Log:
 also return user name


Modified: pve-access-control/trunk/ChangeLog
===================================================================
--- pve-access-control/trunk/ChangeLog	2011-03-29 13:08:46 UTC (rev 5768)
+++ pve-access-control/trunk/ChangeLog	2011-03-30 05:10:16 UTC (rev 5769)
@@ -1,3 +1,7 @@
+2011-03-30  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/API2/AccessControl.pm (create_ticket): also return user name
+
 2011-03-24  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/AccessControl.pm (verify_csrf_prevention_token): add CSRF

Modified: pve-access-control/trunk/PVE/API2/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/AccessControl.pm	2011-03-29 13:08:46 UTC (rev 5768)
+++ pve-access-control/trunk/PVE/API2/AccessControl.pm	2011-03-30 05:10:16 UTC (rev 5769)
@@ -123,6 +123,7 @@
 	type => "object",
 	properties => {
 	    ticket => { type => 'string' },
+	    username => { type => 'string' },
 	    CSRFPreventionToken => { type => 'string' },
 	}
     },
@@ -166,6 +167,7 @@
 
 	return {
 	    ticket => $ticket,
+	    username => $username,
 	    CSRFPreventionToken => $token,
 	};
     }});




More information about the pve-devel mailing list