From 2bcc4e5200bd2d4075e5fe2c97d68d1a5cb033e1 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 20 Mar 2012 20:59:34 +0000 Subject: [PATCH] additional checks --- lam/lib/modules.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 6f40d84b..577c8ecc 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -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