From 96a022747c756a066694f1c759d645bb907cc38a Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Wed, 27 Jan 2021 22:01:32 +0000 Subject: [PATCH] release 3.3.5 perhaps --- CHANGELOG.TXT | 4 ++-- config.inc.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index a45aebfa..be9f537f 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -6,12 +6,12 @@ # # Further details on the project are available at https://github.com/postfixadmin/postfixadmin -Version 3.3.5 - 2021/01/26 +Version 3.3.5 - 2021/01/27 ------------------------------------------------- - Fix include path for password-change.php and improve UI for password-recover / password-change (nav bar was missing, remove table layout, fix labels not visible) (see https://github.com/postfixadmin/postfixadmin/issues/430 - Fix users/edit-alias to remove unnecessary space (see https://github.com/postfixadmin/postfixadmin/issues/442) - Improve documentation - - Improve password length check in config.inc.php (see //github.com/postfixadmin/postfixadmin/issues/423) + - Improve password length check example in config.inc.php (see //github.com/postfixadmin/postfixadmin/issues/423) - Improve ADDITIONS/update_quota.pl (update to use quota2 table) - Check for some config setting, and do not error if they are not set (see https://github.com/postfixadmin/postfixadmin/issues/437) - Add pt-pt (portugese) translation (thanks Numo Carrilho/Nunix) diff --git a/config.inc.php b/config.inc.php index ba63b96e..5622c0d8 100644 --- a/config.inc.php +++ b/config.inc.php @@ -227,7 +227,7 @@ function language_hook($PALANG, $language) { $CONF['password_validation'] = array( # '/regular expression/' => '$PALANG key (optional: + parameter)', '/.{5}/' => 'password_too_short 5', # minimum length 5 characters - // '/([a-zA-Z].*){3}/' => 'password_no_characters 3', # must contain at least 3 consecutive characters + '/([a-zA-Z].*){3}/' => 'password_no_characters 3', # must contain at least 3 characters '/([0-9].*){2}/' => 'password_no_digits 2', # must contain at least 2 digits /* support a 'callable' value which if it returns a non-empty string will be assumed to have failed, non-empty string should be a PALANG key */