additional checks

This commit is contained in:
Roland Gruber 2012-03-20 20:59:34 +00:00
parent 1c0aeb0e9f
commit 2bcc4e5200
1 changed files with 1 additions and 1 deletions

View File

@ -1042,7 +1042,7 @@ class accountContainer {
);
if ($random == 'true') {
$password1 = generateRandomPassword();
$return['messages'] .= StatusMessage('INFO', _('The password was set to:') . ' ' . $password1, '', array(), true);
$return['messages'] .= StatusMessage('INFO', _('The password was set to:') . ' ' . htmlspecialchars($password1), '', array(), true);
}
else {
// check if passwords match