mod_auth_internal, usermanager: Rename to mod_auth_internal_plain, and update usermanager to still use it as the default

This commit is contained in:
Matthew Wild 2010-07-08 21:08:46 +01:00
parent c60ae1fda2
commit 43f0ee7e21
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ local prosody = _G.prosody;
local setmetatable = setmetatable;
local default_provider = "internal";
local default_provider = "internal_plain";
module "usermanager"

View file

@ -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)