mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-07 09:57:37 +00:00
fix: ldap一处报错
This commit is contained in:
parent
5461071a87
commit
b83010acdf
@ -79,6 +79,10 @@ class LdapUser extends Model
|
||||
}
|
||||
//
|
||||
$setting = Base::setting('thirdAccessSetting');
|
||||
if ($setting['ldap_open'] !== 'open') {
|
||||
return self::$init = false;
|
||||
}
|
||||
//
|
||||
$connection = Container::getDefaultConnection();
|
||||
try {
|
||||
$connection->setConfiguration([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user