mod_auth_internal_hashed: Remove debugging output.

Wed, 09 Jun 2010 17:55:04 +0200

author
Tobias Markmann <tm@ayena.de>
date
Wed, 09 Jun 2010 17:55:04 +0200
changeset 3212
e416b9185c6b
parent 3211
d69e90ffbc09
child 3213
c85bba8bd41a

mod_auth_internal_hashed: Remove debugging output.

plugins/mod_auth_internal_hashed.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_auth_internal_hashed.lua	Wed Jun 09 17:54:34 2010 +0200
+++ b/plugins/mod_auth_internal_hashed.lua	Wed Jun 09 17:55:04 2010 +0200
@@ -64,7 +64,6 @@
 		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

mercurial