mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_auth_internal, mod_auth_internal_hashed: Fixed a global access.
This commit is contained in:
parent
e42b058b2b
commit
4e378598de
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ function new_hashpass_provider(host)
|
|||
end
|
||||
|
||||
function provider.get_sasl_handler()
|
||||
local realm = module:get_option("sasl_realm") or origin.host;
|
||||
local realm = module:get_option("sasl_realm") or module.host;
|
||||
local testpass_authentication_profile = {
|
||||
plain_test = function(username, password, realm)
|
||||
local prepped_username = nodeprep(username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue