users/password.php:

- include the username in messages containing %s


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1662 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 11 years ago
parent bbd7c3af77
commit 619a419611

@ -70,13 +70,13 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
{
$mh->init($username); # TODO: error handling
if($mh->change_pw($fPassword, $fPassword_current) ) {
flash_info($PALANG['pPassword_result_success']);
flash_info(Config::Lang_f('pPassword_result_success', $username));
header("Location: main.php");
exit(0);
}
else
{
flash_error($PALANG['pPassword_result_error']);
flash_error(Config::Lang_f('pPassword_result_error', $username));
}
}
}

Loading…
Cancel
Save