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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 05:56:32 EST 2010


Author: apour
Date: 2010-12-12 02:56:32 -0800 (Sun, 12 Dec 2010)
New Revision: 7286

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

Modified: trunk/mapbender/http/php/mod_forgottenPassword.php
===================================================================
--- trunk/mapbender/http/php/mod_forgottenPassword.php	2010-12-12 10:54:24 UTC (rev 7285)
+++ trunk/mapbender/http/php/mod_forgottenPassword.php	2010-12-12 10:56:32 UTC (rev 7286)
@@ -20,11 +20,17 @@
 require_once(dirname(__FILE__)."/../../core/globalSettings.php");
 
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */ 
 require_once(dirname(__FILE__)."/../../core/globalSettings.php");
-security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+
+$postvars = explode(",", "username,email,upd,sendnew");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



More information about the Mapbender_commits mailing list