diff mod_auth_phpbb3/mod_auth_phpbb3.lua @ 376:8f5726adc61e

mod_auth_phpbb3: Comment logging of user password.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 01 Jul 2011 07:53:13 +0500
parents cac309a3d655
children 145fa870321c
line wrap: on
line diff
--- 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