mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 03:43:08 +01:00
- Correction bug [#1668] Variables GET non récupérées après
une ré-identification
This commit is contained in:
parent
3eeb385d90
commit
a8daef44f7
1 changed files with 6 additions and 1 deletions
|
@ -497,7 +497,12 @@ class LSsession {
|
||||||
*/
|
*/
|
||||||
function displayLoginForm() {
|
function displayLoginForm() {
|
||||||
$GLOBALS['Smarty'] -> assign('pagetitle',_('Connexion'));
|
$GLOBALS['Smarty'] -> assign('pagetitle',_('Connexion'));
|
||||||
$GLOBALS['Smarty'] -> assign('loginform_action',$_SERVER['PHP_SELF']);
|
if (isset($_GET['LSsession_logout'])) {
|
||||||
|
$GLOBALS['Smarty'] -> assign('loginform_action','index.php');
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$GLOBALS['Smarty'] -> assign('loginform_action',$_SERVER['REQUEST_URI']);
|
||||||
|
}
|
||||||
if (count($GLOBALS['LSconfig']['ldap_servers'])==1) {
|
if (count($GLOBALS['LSconfig']['ldap_servers'])==1) {
|
||||||
$GLOBALS['Smarty'] -> assign('loginform_ldapserver_style','style="display: none"');
|
$GLOBALS['Smarty'] -> assign('loginform_ldapserver_style','style="display: none"');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue