fixed a minor bug in closing ldap

This commit is contained in:
hyung-hwan 2010-07-28 06:54:46 +00:00
parent 0db4dd70b3
commit 8b75ca4904
3 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ class LdapLoginModel extends LoginModel
}
@ldap_unbind ($bind);
//@ldap_unbind ($ldap);
@ldap_close ($ldap);
return parent::authenticate ($userid, $password, $email);
@ -100,7 +100,7 @@ class LdapLoginModel extends LoginModel
}
@ldap_unbind ($bind);
//@ldap_unbind ($ldap);
@ldap_close ($ldap);
$user['id'] = $userid;