fixed a minor bug in closing ldap
This commit is contained in:
parent
0db4dd70b3
commit
8b75ca4904
@ -5,7 +5,7 @@ doc_DATA = copyright changelog
|
||||
|
||||
debdir=/DEBIAN
|
||||
deb_DATA = control conffiles
|
||||
deb_SCRIPTS = postinst postrm
|
||||
deb_SCRIPTS = postinst postrm
|
||||
|
||||
install-data-hook:
|
||||
gzip -9 -f $(DESTDIR)$(DOCDIR)/changelog
|
||||
|
@ -173,7 +173,7 @@ EXTRA_DIST = conffiles copyright changelog
|
||||
doc_DATA = copyright changelog
|
||||
debdir = /DEBIAN
|
||||
deb_DATA = control conffiles
|
||||
deb_SCRIPTS = postinst postrm
|
||||
deb_SCRIPTS = postinst postrm
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user