A free open source IT asset/license management system
New LDAP system tries to load LDAP configuration before determining (#6512)
Brady Wetherington1fdb0571998c
diff --git a/app/Models/LdapAd.php b/app/Models/LdapAd.phpindex d0f7563923..e3777374f5 100644--- a/app/Models/LdapAd.php+++ b/app/Models/LdapAd.php@@ -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);}