Software /
code /
prosody
Comparison
plugins/mod_auth_internal_plain.lua @ 4762:943f9f860ab4
mod_auth_internal_plain: Remove unused imports
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:49:13 +0100 |
parent | 4603:6900c9484834 |
child | 5115:3939960b3c07 |
comparison
equal
deleted
inserted
replaced
4761:178f252c31b0 | 4762:943f9f860ab4 |
---|---|
5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
7 -- | 7 -- |
8 | 8 |
9 local datamanager = require "util.datamanager"; | 9 local datamanager = require "util.datamanager"; |
10 local log = require "util.logger".init("auth_internal_plain"); | |
11 local type = type; | |
12 local error = error; | |
13 local ipairs = ipairs; | |
14 local hashes = require "util.hashes"; | |
15 local jid_bare = require "util.jid".bare; | |
16 local config = require "core.configmanager"; | |
17 local usermanager = require "core.usermanager"; | 10 local usermanager = require "core.usermanager"; |
18 local new_sasl = require "util.sasl".new; | 11 local new_sasl = require "util.sasl".new; |
19 local nodeprep = require "util.encodings".stringprep.nodeprep; | 12 local nodeprep = require "util.encodings".stringprep.nodeprep; |
20 local hosts = hosts; | |
21 | 13 |
22 local prosody = _G.prosody; | 14 local log = module._log; |
23 | 15 |
24 function new_default_provider(host) | 16 function new_default_provider(host) |
25 local provider = { name = "internal_plain" }; | 17 local provider = { name = "internal_plain" }; |
26 log("debug", "initializing internal_plain authentication provider for host '%s'", host); | 18 log("debug", "initializing internal_plain authentication provider for host '%s'", host); |
27 | 19 |