mod_auth_internal_hashed: Use logger setup by moduleapi instead of going for util.logger directly

This commit is contained in:
Kim Alvefur 2013-08-10 20:17:45 +02:00
parent 6ee727dd25
commit 31c364ad7f

View file

@ -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;