0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

edit-mailbox:

- password change is now recognized even if only the "new password (again)" 
  field was changed/filled


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@484 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz 2008-11-22 10:23:36 +00:00
parent aafc99b23a
commit 29070cfd59

View File

@ -103,7 +103,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
if (isset ($_POST['fQuota'])) $fQuota = intval ($_POST['fQuota']);
if (isset ($_POST['fActive'])) $fActive = escape_string ($_POST['fActive']);
if($fPassword != $user_details['password']){
if($fPassword != $user_details['password'] || $fPassword2 != $user_details['password']){
$min_length = $CONF['min_password_length'];
if($fPassword == $fPassword2) {