New LDAP system tries to load LDAP configuration before determining (#6512)
whether or not LDAP is actually enabled
This commit is contained in:
committed by
snipe
parent
876ff2ef72
commit
1fdb057199
@@ -53,8 +53,8 @@ class LdapAd extends LdapAdConfiguration
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
if($this->isLdapEnabled()) {
|
||||
parent::__construct();
|
||||
$this->ldap = new Adldap();
|
||||
$this->ldap->addProvider($this->ldapConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user