"Export" get_user from mod_auth_ldap

Tue, 05 Dec 2017 20:37:07 +0100

author
Jonas Wielicki <jonas@wielicki.name>
date
Tue, 05 Dec 2017 20:37:07 +0100
changeset 2851
4b10636bd743
parent 2850
3ba8fd1a297e
child 2852
668447566edf

"Export" get_user from mod_auth_ldap

mod_auth_ldap/mod_auth_ldap.lua file | annotate | diff | comparison | revisions
--- a/mod_auth_ldap/mod_auth_ldap.lua	Tue Nov 21 23:01:20 2017 +0100
+++ b/mod_auth_ldap/mod_auth_ldap.lua	Tue Dec 05 20:37:07 2017 +0100
@@ -55,7 +55,7 @@
 	return dn, attr;
 end
 
-local function get_user(username)
+function get_user(username)
 	module:log("debug", "get_user(%q)", username);
 	return ldap_do("search", 2, {
 		base = ldap_base;

mercurial