diff --git a/lib/common.inc.php b/lib/common.inc.php index aa7ef5e86..a64170065 100644 --- a/lib/common.inc.php +++ b/lib/common.inc.php @@ -46,7 +46,7 @@ function getGroup($username) { function getLoginInformation() { global $user; - return '

You are logged in as ' . $user['group'] . $user['userid'] . '.

'; + return '

You are logged in as ' . $user['group'] . htmlentities($user['userid']) . '.

'; } define('AUTH_NOASSERTION', 0);