Software /
code /
prosody
Changeset
4763:322b7335fbf3
mod_auth_internal_hashed: Remove unused imports
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:55:25 +0100 |
parents | 4762:943f9f860ab4 |
children | 4764:0df5b2d5dff3 |
files | plugins/mod_auth_internal_hashed.lua |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_auth_internal_hashed.lua Sat Apr 28 03:49:13 2012 +0100 +++ b/plugins/mod_auth_internal_hashed.lua Sat Apr 28 03:55:25 2012 +0100 @@ -9,18 +9,11 @@ local datamanager = require "util.datamanager"; local log = require "util.logger".init("auth_internal_hashed"); -local type = type; -local error = error; -local ipairs = ipairs; -local hashes = require "util.hashes"; -local jid_bare = require "util.jid".bare; local getAuthenticationDatabaseSHA1 = require "util.sasl.scram".getAuthenticationDatabaseSHA1; -local config = require "core.configmanager"; local usermanager = require "core.usermanager"; local generate_uuid = require "util.uuid".generate; local new_sasl = require "util.sasl".new; local nodeprep = require "util.encodings".stringprep.nodeprep; -local hosts = hosts; -- COMPAT w/old trunk: remove these two lines before 0.8 release local hmac_sha1 = require "util.hmac".sha1; @@ -47,8 +40,6 @@ end -local prosody = _G.prosody; - -- Default; can be set per-user local iteration_count = 4096;