plugins/mod_auth_internal.lua

changeset 3191
a475fbce1990
parent 3190
b5f261123013
child 3219
fd06023cbdcc
--- a/plugins/mod_auth_internal.lua	Mon Jun 07 02:33:40 2010 +0500
+++ b/plugins/mod_auth_internal.lua	Mon Jun 07 02:38:20 2010 +0500
@@ -76,7 +76,7 @@
 	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 getpass_authentication_profile = {
 			plain = function(username, realm)
 				local prepped_username = nodeprep(username);

mercurial