aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r--plugins/mod_auth_internal_hashed.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 1741a05a..e793add2 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -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);