aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-06-09 17:55:04 +0200
committerTobias Markmann <tm@ayena.de>2010-06-09 17:55:04 +0200
commit480fa4dd0a6e7a3e0b5013996d01c8f0f885817a (patch)
tree7603aeb05d1e7344cd1d6b8b723bac7ea504633a /plugins
parent282c761001d958f0641e063026c0a3b242fd0df2 (diff)
downloadprosody-480fa4dd0a6e7a3e0b5013996d01c8f0f885817a.tar.gz
prosody-480fa4dd0a6e7a3e0b5013996d01c8f0f885817a.zip
mod_auth_internal_hashed: Remove debugging output.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_internal_hashed.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 854138e8..9025ab2e 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -64,7 +64,6 @@ function new_hashpass_provider(host)
if credentials.hashpass then
valid = true;
local salted_password = credentials.hashpass:gsub("..", function(x) return string.char(tonumber(x, 16)); end);
- log("debug", "salted_password in bin: %s", tostring(salted_password));
credentials.stored_key = sha1(hmac_sha1(salted_password, "Client Key")):gsub(".", function (c) return ("%02x"):format(c:byte()); end);
credentials.server_key = hmac_sha1(salted_password, "Server Key"):gsub(".", function (c) return ("%02x"):format(c:byte()); end);
end