--- a/mod_auth_any/mod_auth_any.lua Sun Jan 08 11:27:01 2017 +0100
+++ b/mod_auth_any/mod_auth_any.lua Sun Jan 08 11:29:13 2017 +0100
@@ -8,19 +8,7 @@
-- luacheck: ignore 212
local datamanager = require "util.datamanager";
-local log = require "util.logger".init("auth_any");
-local type = type;
-local error = error;
-local ipairs = ipairs;
-local hashes = require "util.hashes";
-local jid_bare = require "util.jid".bare;
-local config = require "core.configmanager";
-local usermanager = require "core.usermanager";
local new_sasl = require "util.sasl".new;
-local nodeprep = require "util.encodings".stringprep.nodeprep;
-local hosts = hosts;
-
-local prosody = _G.prosody;
local host = module.host;
local provider = { name = "any" };