# HG changeset patch # User Kim Alvefur # Date 1556489120 -7200 # Node ID b50be75c8befdc019305a1050b57480c0247db92 # Parent 7344513ee160244577734442b456df11cc7009c8 mod_auth_ldap: Use module API for logging diff -r 7344513ee160 -r b50be75c8bef mod_auth_ldap/mod_auth_ldap.lua --- a/mod_auth_ldap/mod_auth_ldap.lua Mon Apr 29 00:04:16 2019 +0200 +++ b/mod_auth_ldap/mod_auth_ldap.lua Mon Apr 29 00:05:20 2019 +0200 @@ -111,7 +111,7 @@ local function test_password(userdn, password) local ok, err = lualdap.open_simple(ldap_server, userdn, password, ldap_tls); if not ok then - log("debug", "ldap open_simple error: %s", err); + module:log("debug", "ldap open_simple error: %s", err); end return not not ok; end