comparison mod_auth_any/mod_auth_any.lua @ 2439:1f7820f68868

mod_auth_any: Remove unused imports
author Kim Alvefur <zash@zash.se>
date Sun, 08 Jan 2017 11:29:13 +0100
parents a528627e45ab
children
comparison
equal deleted inserted replaced
2438:a528627e45ab 2439:1f7820f68868
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 -- luacheck: ignore 212 8 -- luacheck: ignore 212
9 9
10 local datamanager = require "util.datamanager"; 10 local datamanager = require "util.datamanager";
11 local log = require "util.logger".init("auth_any");
12 local type = type;
13 local error = error;
14 local ipairs = ipairs;
15 local hashes = require "util.hashes";
16 local jid_bare = require "util.jid".bare;
17 local config = require "core.configmanager";
18 local usermanager = require "core.usermanager";
19 local new_sasl = require "util.sasl".new; 11 local new_sasl = require "util.sasl".new;
20 local nodeprep = require "util.encodings".stringprep.nodeprep;
21 local hosts = hosts;
22
23 local prosody = _G.prosody;
24 12
25 local host = module.host; 13 local host = module.host;
26 local provider = { name = "any" }; 14 local provider = { name = "any" };
27 15
28 function provider.test_password(username, password) 16 function provider.test_password(username, password)