aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-07-21 21:01:36 +0100
committerMatthew Wild <mwild1@gmail.com>2010-07-21 21:01:36 +0100
commita6e1eb7590682effa4071556f702657b7fa6bb80 (patch)
tree7502339faf0ac5244281ae43056811bd681ed440 /plugins/mod_auth_internal_hashed.lua
parentd01c84cfa198b102ddc82dd6c0b18a6a3315fd27 (diff)
downloadprosody-a6e1eb7590682effa4071556f702657b7fa6bb80.tar.gz
prosody-a6e1eb7590682effa4071556f702657b7fa6bb80.zip
usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password
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 c9b8107b..2bee141c 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -141,7 +141,7 @@ function new_hashpass_provider(host)
log("debug", "NODEprep failed on username: %s", username);
return "", nil;
end
- return usermanager.test_password(prepped_username, password, realm), true;
+ return usermanager.test_password(prepped_username, realm, password), true;
end,
scram_sha_1 = function(username, realm)
local credentials = datamanager.load(username, host, "accounts");