diff options
author | Kim Alvefur <zash@zash.se> | 2013-08-10 20:17:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-08-10 20:17:45 +0200 |
commit | 4488aeb3eb06cc953ff18392b0c2232db03919b2 (patch) | |
tree | 8c01faf835f094e218c9afcce46367f460a416e4 /plugins | |
parent | 2d2eb5945215c8a963b7fa4fd4db1394b5db0228 (diff) | |
download | prosody-4488aeb3eb06cc953ff18392b0c2232db03919b2.tar.gz prosody-4488aeb3eb06cc953ff18392b0c2232db03919b2.zip |
mod_auth_internal_hashed: Use logger setup by moduleapi instead of going for util.logger directly
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_auth_internal_hashed.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua index 8a1c2b3e..ff0c7631 100644 --- a/plugins/mod_auth_internal_hashed.lua +++ b/plugins/mod_auth_internal_hashed.lua @@ -7,12 +7,13 @@ -- COPYING file in the source package for more information. -- -local log = require "util.logger".init("auth_internal_hashed"); local getAuthenticationDatabaseSHA1 = require "util.sasl.scram".getAuthenticationDatabaseSHA1; local usermanager = require "core.usermanager"; local generate_uuid = require "util.uuid".generate; local new_sasl = require "util.sasl".new; +local log = module._log; + local accounts = module:open_store("accounts"); local to_hex; |