[Mapbender-commits] r7287 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 06:03:14 EST 2010


Author: apour
Date: 2010-12-12 03:03:14 -0800 (Sun, 12 Dec 2010)
New Revision: 7287

Modified:
   trunk/mapbender/http/php/mod_changePassword.php
Log:
done

Modified: trunk/mapbender/http/php/mod_changePassword.php
===================================================================
--- trunk/mapbender/http/php/mod_changePassword.php	2010-12-12 10:56:32 UTC (rev 7286)
+++ trunk/mapbender/http/php/mod_changePassword.php	2010-12-12 11:03:14 UTC (rev 7287)
@@ -21,10 +21,16 @@
 
 require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */ 
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+
+$postvars = explode(",", "oldpassword,newpassword,confirmpassword,profile_id,upd");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list