mod_rest: Remove no longer needed logging
authorKim Alvefur <zash@zash.se>
Fri, 07 Feb 2020 20:57:47 +0100
changeset 3891 3d0e8e32453c
parent 3890 b64b08b7bf8e
child 3892 04ea96a0488d
mod_rest: Remove no longer needed logging I wasn't sure that curl et all passed the correct password, so the length was included.
mod_rest/mod_rest.lua
--- a/mod_rest/mod_rest.lua	Fri Feb 07 20:53:57 2020 +0100
+++ b/mod_rest/mod_rest.lua	Fri Feb 07 20:57:47 2020 +0100
@@ -37,7 +37,6 @@
 		if not username then return false; end
 		username, password = encodings.stringprep.nodeprep(username), encodings.stringprep.saslprep(password);
 		if not username then return false; end
-		module:log("debug", "usermanager.test_password(%q, %q, %q)", username, module.host, string.rep("*", #password))
 		if not um.test_password(username, module.host, password) then
 			return false;
 		end