mod_auth_phpbb3/mod_auth_phpbb3.lua
changeset 376 8f5726adc61e
parent 375 cac309a3d655
child 377 145fa870321c
--- 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