mod_auth_phpbb3: Comment logging of user password.
authorWaqas Hussain <waqas20@gmail.com>
Fri, 01 Jul 2011 07:53:13 +0500
changeset 376 8f5726adc61e
parent 375 cac309a3d655
child 377 145fa870321c
mod_auth_phpbb3: Comment logging of user password.
mod_auth_phpbb3/mod_auth_phpbb3.lua
--- a/mod_auth_phpbb3/mod_auth_phpbb3.lua	Fri Jul 01 07:52:01 2011 +0500
+++ b/mod_auth_phpbb3/mod_auth_phpbb3.lua	Fri Jul 01 07:53:13 2011 +0500
@@ -154,8 +154,7 @@
 provider = { name = "phpbb3" };
 
 function provider.test_password(username, password)
-	module:log("debug", "test_password '%s' for user %s", password, username);
-
+	--module:log("debug", "test_password '%s' for user %s", tostring(password), tostring(username));
 	local hash = get_password(username);
 	return hash and phpbbCheckHash(password, hash);
 end