diff --git a/lam/templates/main_header.php b/lam/templates/main_header.php
index 6a65fe43..0cad6a14 100644
--- a/lam/templates/main_header.php
+++ b/lam/templates/main_header.php
@@ -124,9 +124,9 @@ foreach ($toSort as $key => $value) {
';
$userData = $_SESSION['ldap']->decrypt_login();
- printf('(' . _('Logged in as: %s') . ')', getAbstractDN($userData[0]));
+ echo ' ';
+ printf('(' . _('Logged in as: %s') . ')', extractRDNValue($userData[0]));
$userData = null;
echo '';
?>
|