diff options
-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) |