diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 76ae17b050b..6d54370a589 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -680,7 +680,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
print '
'.$langs->trans("Login").'
';
print '
';
- $title.=$langs->trans("SessionName").': '.session_name();
+ $title=$langs->trans("SessionName").': '.session_name();
if ($conf->main_authentication) $title.=", ".$langs->trans("AuthenticationMode").': '.$conf->main_authentication;
// Show logo (search in order: small company logo, large company logo, theme logo, common logo)