fixed a minor bug in closing ldap
This commit is contained in:
parent
0db4dd70b3
commit
8b75ca4904
@ -52,7 +52,7 @@ class LdapLoginModel extends LoginModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ldap_unbind ($bind);
|
//@ldap_unbind ($ldap);
|
||||||
@ldap_close ($ldap);
|
@ldap_close ($ldap);
|
||||||
|
|
||||||
return parent::authenticate ($userid, $password, $email);
|
return parent::authenticate ($userid, $password, $email);
|
||||||
@ -100,7 +100,7 @@ class LdapLoginModel extends LoginModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ldap_unbind ($bind);
|
//@ldap_unbind ($ldap);
|
||||||
@ldap_close ($ldap);
|
@ldap_close ($ldap);
|
||||||
|
|
||||||
$user['id'] = $userid;
|
$user['id'] = $userid;
|
||||||
|
Loading…
Reference in New Issue
Block a user