Author: jfthomps Date: Wed May 16 22:37:46 2012 New Revision: 1339405 URL: http://svn.apache.org/viewvc?rev=1339405&view=rev Log: VCL-463 add ability to deploy images as servers
utils.php: modified sendRDPfile - fixed problem where owner's password was being sent instead of current user's password Modified: incubator/vcl/trunk/web/.ht-inc/utils.php Modified: incubator/vcl/trunk/web/.ht-inc/utils.php URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/utils.php?rev=1339405&r1=1339404&r2=1339405&view=diff ============================================================================== --- incubator/vcl/trunk/web/.ht-inc/utils.php (original) +++ incubator/vcl/trunk/web/.ht-inc/utils.php Wed May 16 22:37:46 2012 @@ -8395,12 +8395,12 @@ function sendRDPfile() { foreach($request["reservations"] as $res) { if($res['reservationid'] == $resid) { $ipaddress = $res["reservedIP"]; - $passwd = $res["password"]; break; } } if(empty($ipaddress)) return; + $passwd = $request['passwds'][$resid][$user['id']]; $width = $user["width"]; $height = $user["height"];