mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-07-03 08:38:49 +02:00
LSauthMethod_HTTP : fix constructor to load config before handling it
This commit is contained in:
parent
87729124f3
commit
5fa1e578c5
|
@ -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