additional checks
This commit is contained in:
parent
1c0aeb0e9f
commit
2bcc4e5200
|
@ -1042,7 +1042,7 @@ class accountContainer {
|
||||||
);
|
);
|
||||||
if ($random == 'true') {
|
if ($random == 'true') {
|
||||||
$password1 = generateRandomPassword();
|
$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 {
|
else {
|
||||||
// check if passwords match
|
// check if passwords match
|
||||||
|
|
Loading…
Reference in New Issue