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
|
debdir=/DEBIAN
|
||||||
deb_DATA = control conffiles
|
deb_DATA = control conffiles
|
||||||
deb_SCRIPTS = postinst postrm
|
deb_SCRIPTS = postinst postrm
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
gzip -9 -f $(DESTDIR)$(DOCDIR)/changelog
|
gzip -9 -f $(DESTDIR)$(DOCDIR)/changelog
|
||||||
|
@ -173,7 +173,7 @@ EXTRA_DIST = conffiles copyright changelog
|
|||||||
doc_DATA = copyright changelog
|
doc_DATA = copyright changelog
|
||||||
debdir = /DEBIAN
|
debdir = /DEBIAN
|
||||||
deb_DATA = control conffiles
|
deb_DATA = control conffiles
|
||||||
deb_SCRIPTS = postinst postrm
|
deb_SCRIPTS = postinst postrm
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
@ -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