diff --git a/bureau/admin/mail_add.php b/bureau/admin/mail_add.php
index 4174795c..a45e5a95 100644
--- a/bureau/admin/mail_add.php
+++ b/bureau/admin/mail_add.php
@@ -74,11 +74,14 @@ if (!empty($dst_mail)) $pop=0;
" />
diff --git a/bureau/admin/mail_doadd.php b/bureau/admin/mail_doadd.php
index 501eb72a..b5a4217f 100644
--- a/bureau/admin/mail_doadd.php
+++ b/bureau/admin/mail_doadd.php
@@ -40,7 +40,6 @@ $fields = array (
);
getFields($fields);
-
if ($pass != $passconf) {
$error = _("Passwords do not match");
include("mail_add.php");
diff --git a/bureau/admin/mail_doedit.php b/bureau/admin/mail_doedit.php
index 55babad1..9847156e 100644
--- a/bureau/admin/mail_doedit.php
+++ b/bureau/admin/mail_doedit.php
@@ -33,6 +33,18 @@ $error_edit="";
$trash=new m_trash();
$trash->getfromform();
+
+$fields = array (
+ "domain" => array ("request", "string", ""),
+ "email" => array ("request", "string", ""),
+ "pop" => array ("request", "integer", 0),
+ "pass" => array ("request", "string", ""),
+ "passconf" => array ("request", "string", ""),
+ "alias" => array ("request", "string", ""),
+);
+getFields($fields);
+
+
if ($pass != $passconf) {
$error = _("Passwords do not match");
include ("mail_edit.php");
diff --git a/bureau/admin/mail_edit.php b/bureau/admin/mail_edit.php
index 0dad974e..e70f6b58 100644
--- a/bureau/admin/mail_edit.php
+++ b/bureau/admin/mail_edit.php
@@ -86,12 +86,13 @@ echo " "._("WARNING: turning POP/IMAP off will DELETE t
|