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
postfixadmin-2.3
Christian Boltz 17 years ago
parent aafc99b23a
commit 29070cfd59

@ -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) {

Loading…
Cancel
Save