A new user interface for you! Read more...

File postfixadmin-changes-since-2.3.8.diff of Package postfixadmin23

--- CHANGELOG.TXT	2015-10-07 13:08:22.000000000 +0200
+++ CHANGELOG.TXT	2015-10-11 21:38:02.110341490 +0200
@@ -8,7 +8,11 @@
 #     http://www.postfixadmin.com or http://postfixadmin.sf.net 
 #
 # Last update:
-# $Id: CHANGELOG.TXT 1814 2015-10-07 11:08:22Z christian_boltz $
+# $Id: CHANGELOG.TXT 1819 2015-10-11 19:37:59Z christian_boltz $
+
+Changes since the 2.3.8 release
+-------------------------------
+  - enforce $CONF[min_password_length] in create-mailbox
 
 Version 2.3.8 - 2015/10/07 - SVN r1814 (postfixadmin-2.3 branch)
 ----------------------------------------------------------------
--- create-mailbox.php	2014-01-12 18:39:58.000000000 +0100
+++ create-mailbox.php	2015-10-11 21:38:02.110341490 +0200
@@ -12,7 +12,7 @@
  * File: create-mailbox.php
  * Responsible for allowing for the creation of mail boxes
  *
- * @version $Id: create-mailbox.php 1622 2014-01-12 17:39:58Z christian_boltz $
+ * @version $Id: create-mailbox.php 1819 2015-10-11 19:37:59Z christian_boltz $
  * @license GNU GPL v2 or later.
  *
  * Template Variables:
@@ -129,6 +129,12 @@ if ($_SERVER['REQUEST_METHOD'] == "POST"
             $tDomain = $fDomain;
             $pCreate_mailbox_password_text = $PALANG['pCreate_mailbox_password_text_error'];
         }
+    } else {
+        $min_length = $CONF['min_password_length'];
+        if($min_length > 0 && strlen($fPassword) < $min_length) {
+           flash_error(sprintf($PALANG['pPasswordTooShort'], $CONF['min_password_length']));
+           $error = 1;
+        }
     }
 
     if ($CONF['quota'] == "YES")