diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-07-08 21:08:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-07-08 21:08:46 +0100 |
commit | 43f0ee7e21cb9f23b66a47f0510afe60882bc2b6 (patch) | |
tree | 10222901bc9cfbef93c04005fdaa9b8bbccbb3c4 | |
parent | c60ae1fda2def461f7def3461c321835b97ba5f6 (diff) | |
download | prosody-43f0ee7e21cb9f23b66a47f0510afe60882bc2b6.tar.gz prosody-43f0ee7e21cb9f23b66a47f0510afe60882bc2b6.zip |
mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and update usermanager to still use it as the default
-rw-r--r-- | core/usermanager.lua | 2 | ||||
-rw-r--r-- | plugins/mod_auth_internal_plain.lua (renamed from plugins/mod_auth_internal.lua) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index dd17128c..27f1a7df 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -23,7 +23,7 @@ local prosody = _G.prosody; local setmetatable = setmetatable; -local default_provider = "internal"; +local default_provider = "internal_plain"; module "usermanager" diff --git a/plugins/mod_auth_internal.lua b/plugins/mod_auth_internal_plain.lua index 795d31dd..fdc1216c 100644 --- a/plugins/mod_auth_internal.lua +++ b/plugins/mod_auth_internal_plain.lua @@ -8,7 +8,7 @@ -- local datamanager = require "util.datamanager"; -local log = require "util.logger".init("auth_internal"); +local log = require "util.logger".init("auth_internal_plain"); local type = type; local error = error; local ipairs = ipairs; @@ -25,7 +25,7 @@ local prosody = _G.prosody; local is_cyrus = usermanager.is_cyrus; function new_default_provider(host) - local provider = { name = "internal" }; + local provider = { name = "internal_plain" }; log("debug", "initializing default authentication provider for host '%s'", host); function provider.test_password(username, password) |