Software /
code /
prosody-modules
Diff
mod_auth_ldap/mod_auth_ldap.lua @ 2851:4b10636bd743
"Export" get_user from mod_auth_ldap
author | Jonas Wielicki <jonas@wielicki.name> |
---|---|
date | Tue, 05 Dec 2017 20:37:07 +0100 |
parent | 2775:8407137c0a3b |
child | 3098:a81456a13797 |
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;