mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
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:
parent
c60ae1fda2
commit
43f0ee7e21
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ local prosody = _G.prosody;
|
|||
|
||||
local setmetatable = setmetatable;
|
||||
|
||||
local default_provider = "internal";
|
||||
local default_provider = "internal_plain";
|
||||
|
||||
module "usermanager"
|
||||
|
||||
|
|
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue