aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2010-06-09 03:41:24 +0200
committerKim Alvefur <zash@zash.se>2010-06-09 03:41:24 +0200
commit6ef96921f5b798ea61aa7dbc808126cb9f701266 (patch)
treed4fe3092eaa24cc0f5ee05ca47697ce23b073bb7 /plugins
parentacdb275b7b2504a2502add4ffe0179d2f1995047 (diff)
downloadprosody-6ef96921f5b798ea61aa7dbc808126cb9f701266.tar.gz
prosody-6ef96921f5b798ea61aa7dbc808126cb9f701266.zip
Fix missing parameter in mod_auth_internal_hashed.
Diffstat (limited to 'plugins')
-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 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;