mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
- LSsession : N'affiche le recoverPassword que si celui-ci est activé
This commit is contained in:
parent
ff1a020630
commit
9952e7e8ba
1 changed files with 3 additions and 1 deletions
|
@ -735,7 +735,9 @@ class LSsession {
|
||||||
$GLOBALS['Smarty'] -> assign('loginform_label_user',_('Identifiant'));
|
$GLOBALS['Smarty'] -> assign('loginform_label_user',_('Identifiant'));
|
||||||
$GLOBALS['Smarty'] -> assign('loginform_label_pwd',_('Mot de passe'));
|
$GLOBALS['Smarty'] -> assign('loginform_label_pwd',_('Mot de passe'));
|
||||||
$GLOBALS['Smarty'] -> assign('loginform_label_submit',_('Connexion'));
|
$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 -> setTemplate('login.tpl');
|
||||||
$this -> addJSscript('LSsession_login.js');
|
$this -> addJSscript('LSsession_login.js');
|
||||||
|
|
Loading…
Reference in a new issue