mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Fix error
This fix removes a log error caused by the ynh-login-mapping plugin
This commit is contained in:
parent
916e4e4022
commit
c38f23e72e
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ class YnhLoginMappingPlugin extends \RainLoop\Plugins\AbstractPlugin {
|
|||
|
||||
// connection au ldap ynh... en local
|
||||
$cnx = ldap_connect (); // single connection
|
||||
ldap_set_option($cnx, LDAP_OPT_PROTOCOL_VERSION, 3);
|
||||
|
||||
if (! $cnx) {
|
||||
$this->Manager()->Actions()->Logger()->Write('YnhLoginMappingPlugin: Could not connect to LDAP server', \MailSo\Log\Enumerations\Type::ERROR);
|
||||
|
|
Loading…
Add table
Reference in a new issue