Fix missing parameter in mod_auth_internal_hashed.
--- a/plugins/mod_auth_internal_hashed.lua Wed Jun 09 01:11:46 2010 +0100
+++ b/plugins/mod_auth_internal_hashed.lua Wed Jun 09 03:41:24 2010 +0200
@@ -121,7 +121,7 @@
scram_sha_1 = function(username, realm)
local credentials = datamanager.load(username, host, "accounts") or {};
if credentials.password then
- usermanager.set_password(username, credentials.password);
+ usermanager.set_password(username, credentials.password, host);
credentials = datamanager.load(username, host, "accounts") or {};
end
local salted_password, iteration_count, salt = credentials.hashpass, credentials.iteration_count, credentials.salt;