mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSauthMethod_HTTP : fix constructor to load config before handling it
This commit is contained in:
parent
87729124f3
commit
5fa1e578c5
1 changed files with 2 additions and 1 deletions
|
@ -30,10 +30,11 @@ LSsession :: loadLSclass('LSauthMethod_basic');
|
||||||
class LSauthMethod_HTTP extends LSauthMethod_basic {
|
class LSauthMethod_HTTP extends LSauthMethod_basic {
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
parent :: __construct();
|
||||||
LSauth :: disableLoginForm();
|
LSauth :: disableLoginForm();
|
||||||
if (!defined('LSAUTHMETHOD_HTTP_LOGOUT_REMOTE_URL'))
|
if (!defined('LSAUTHMETHOD_HTTP_LOGOUT_REMOTE_URL'))
|
||||||
LSauth :: disableLogoutBtn();
|
LSauth :: disableLogoutBtn();
|
||||||
return parent :: __construct();
|
return True;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue