diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 9504c955..f862fe52 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -735,7 +735,9 @@ class LSsession { $GLOBALS['Smarty'] -> assign('loginform_label_user',_('Identifiant')); $GLOBALS['Smarty'] -> assign('loginform_label_pwd',_('Mot de passe')); $GLOBALS['Smarty'] -> assign('loginform_label_submit',_('Connexion')); - $GLOBALS['Smarty'] -> assign('loginform_label_lostpassword',_('Mot de passe oubliƩ ?')); + if (isset($GLOBALS['LSconfig']['ldap_servers'][0])) { + $GLOBALS['Smarty'] -> assign('loginform_label_lostpassword',_('Mot de passe oubliƩ ?')); + } $this -> setTemplate('login.tpl'); $this -> addJSscript('LSsession_login.js');