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 | 31c364ad7f4dccfba397d280e9c28d27fda4ee61 (patch) | |
tree | 8c01faf835f094e218c9afcce46367f460a416e4 /plugins/mod_auth_internal_hashed.lua | |
parent | 6ee727dd250678445982e8f07400fd395e44f801 (diff) | |
download | prosody-31c364ad7f4dccfba397d280e9c28d27fda4ee61.tar.gz prosody-31c364ad7f4dccfba397d280e9c28d27fda4ee61.zip |
mod_auth_internal_hashed: Use logger setup by moduleapi instead of going for util.logger directly
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-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; |