From 6ef96921f5b798ea61aa7dbc808126cb9f701266 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 9 Jun 2010 03:41:24 +0200 Subject: Fix missing parameter in mod_auth_internal_hashed. --- plugins/mod_auth_internal_hashed.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_auth_internal_hashed.lua') diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua index 9cffcc6e..c07e2978 100644 --- a/plugins/mod_auth_internal_hashed.lua +++ b/plugins/mod_auth_internal_hashed.lua @@ -121,7 +121,7 @@ function new_hashpass_provider(host) 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; -- cgit v1.2.3