diff --git a/bureau/admin/mem_cm.php b/bureau/admin/mem_cm.php index ccdffa65..10097bf6 100644 --- a/bureau/admin/mem_cm.php +++ b/bureau/admin/mem_cm.php @@ -31,10 +31,17 @@ require_once("../class/config_nochk.php"); include_once("head.php"); +$fields = array ( + "usr" => array ("request", "integer", 0), + "cookie" => array ("request", "string", ""), + "cle" => array("request","string",""), +); +getFields($fields); + ?>
$error"; include_once("foot.php"); exit(); diff --git a/bureau/admin/mem_cm2.php b/bureau/admin/mem_cm2.php index 48f09429..5a18d857 100644 --- a/bureau/admin/mem_cm2.php +++ b/bureau/admin/mem_cm2.php @@ -30,6 +30,13 @@ require_once("../class/config_nochk.php"); +$fields = array ( + "usr" => array ("request", "integer", 0), + "cookie" => array ("request", "string", ""), + "cle" => array("request","string",""), +); +getFields($fields); + if (!$mem->ChangeMail2($cookie,$cle,$usr)) { $error=$err->errstr(); } @@ -39,7 +46,7 @@ include_once("head.php"); ?> $error"; include_once("foot.php"); exit();