diff --git a/htdocs/admin/security_other.php b/htdocs/admin/security_other.php
index 54bc933374ccf8946b767e83666756fafefe5144..86c89edb6fb958537fdd6497294dbbf935a27db8 100644
--- a/htdocs/admin/security_other.php
+++ b/htdocs/admin/security_other.php
@@ -105,6 +105,13 @@ else if ($action == 'MAIN_ANTIVIRUS_PARAM')
     if (! dolibarr_set_const($db, "MAIN_ANTIVIRUS_PARAM", $_POST["MAIN_ANTIVIRUS_PARAM"],'chaine',0,'',$conf->entity)) dol_print_error($db);
     else setEventMessage($langs->trans("RecordModifiedSuccessfully"));
 }
+else if ($action == 'MAIN_SECURITY_HIDDENNUMVER')
+{
+	if (! dolibarr_set_const($db, "MAIN_SECURITY_HIDDENNUMVER", $_POST["MAIN_SECURITY_HIDDENNUMVER"],'chaine',0,'',$conf->entity)) dol_print_error($db);
+	else setEventMessage($langs->trans("RecordModifiedSuccessfully"));
+}
+
+
 
 // Delete file
 else if ($action == 'delete')
@@ -177,6 +184,28 @@ print '<td colspan="3">'.$langs->trans("Parameters").'</td>';
 print '<td align="right" width="100">'.$langs->trans("Status").'</td>';
 print '</tr>';
 
+// Hidde version number
+$var=!$var;
+print "<tr ".$bc[$var].">";
+print '<td colspan="3">'.$langs->trans("HiddeNumVersion").'</td>'; // TODO add lag
+print '<td align="right">';
+if (! empty($conf->use_javascript_ajax))
+{
+	print ajax_constantonoff('MAIN_SECURITY_HIDDENNUMVER');
+}
+else
+{
+	if (empty($conf->global->MAIN_SECURITY_HIDDENNUMVER))
+	{
+		print '<a href="'.$_SERVER['PHP_SELF'].'?action=set_MAIN_SECURITY_HIDDENNUMVER">'.img_picto($langs->trans("Disabled"),'off').'</a>';
+	}
+	else
+	{
+		print '<a href="'.$_SERVER['PHP_SELF'].'?action=del_MAIN_SECURITY_HIDDENNUMVER">'.img_picto($langs->trans("Enabled"),'on').'</a>';
+	}
+}
+print '</td></tr>';
+
 // Enable Captcha code
 $var=!$var;
 print "<tr ".$bc[$var].">";
diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php
index efd0b46d6b457f806f9001dce7a1dd873b201197..78830d0ca2360fe4418ce8d472522109fb6a014e 100644
--- a/htdocs/core/tpl/login.tpl.php
+++ b/htdocs/core/tpl/login.tpl.php
@@ -27,6 +27,8 @@ if (GETPOST('dol_use_jmobile')) $conf->dol_use_jmobile=1;
 
 $arrayofjs=array('/core/js/dst.js'.(empty($conf->dol_use_jmobile)?'':'?version='.urlencode(DOL_VERSION)));					// Javascript code on logon page only to detect user tz, dst_observed, dst_first, dst_second
 $titleofloginpage=$langs->trans('Login').' '.$title;	// title is defined by dol_loginfunction in security2.lib.php
+$titleAff = !empty($conf->$global->MAIN_SECURITY_HIDDENNUMVER) ? dol_escape_htmltag($title) : "Dolibarr" ;
+
 print top_htmlhead('',$titleofloginpage,0,0,$arrayofjs);
 ?>
 <!-- BEGIN PHP TEMPLATE LOGIN.TPL.PHP -->
@@ -61,8 +63,8 @@ $(document).ready(function () {
 <input type="hidden" name="dol_no_mouse_hover" id="dol_no_mouse_hover" value="<?php echo $dol_no_mouse_hover; ?>" />
 <input type="hidden" name="dol_use_jmobile" id="dol_use_jmobile" value="<?php echo $dol_use_jmobile; ?>" />
 
-<table class="login_table_title center" summary="<?php echo dol_escape_htmltag($title); ?>">
-<tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
+<table class="login_table_title center" summary="<?php echo $titleAff; ?>">
+<tr class="vmenu"><td align="center"><?php echo $titleAff; ?></td></tr>
 </table>
 <br>
 
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 1624a8222bd8cf8e638d04c8c9d92984970e4df7..dc1eca63322e79b15dafa213428303a04bba4b87 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -81,6 +81,7 @@ MustBeLowerThanPHPLimit=Remarque : Votre PHP limite la taille des envois à <b>
 NoMaxSizeByPHPLimit=Aucune limite configurée dans votre serveur PHP
 MaxSizeForUploadedFiles=Taille maximum des fichiers envoyés (0 pour interdire l'envoi)
 UseCaptchaCode=Utilisation du code graphique (CAPTCHA) sur la page de connexion
+HiddeNumVersion=Cacher le numero de version sur la page de login
 UseAvToScanUploadedFiles=Utiliser un antivirus pour vérifier les fichiers envoyés
 AntiVirusCommand= Chemin complet vers la commande antivirus
 AntiVirusCommandExample= Exemple pour ClamWin : c:\\Progra~1\\ClamWin\\bin\\clamscan.exe<br>Exemple pour ClamAv : /usr/bin/clamscan