Software /
code /
prosody-modules
Changeset
2851:4b10636bd743
"Export" get_user from mod_auth_ldap
author | Jonas Wielicki <jonas@wielicki.name> |
---|---|
date | Tue, 05 Dec 2017 20:37:07 +0100 |
parents | 2850:3ba8fd1a297e |
children | 2852:668447566edf |
files | mod_auth_ldap/mod_auth_ldap.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;