diff mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua @ 2861:afeb06e4cdea

mod_auth_dovecot: Disable debug logging (sensitive data being sent)
author Kim Alvefur <zash@zash.se>
date Thu, 04 Jan 2018 05:03:00 +0100
parents e9ca7fd4ad06
children 7406039021d8
line wrap: on
line diff
--- a/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Wed Jan 03 15:19:55 2018 +0100
+++ b/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Thu Jan 04 05:03:00 2018 +0100
@@ -139,7 +139,7 @@
 	if msg:sub(-1) ~= "\n" then
 		msg = msg .. "\n"
 	end
-	module:log("debug", "sending %q", msg:sub(1,-2));
+	-- module:log("debug", "sending %q", msg:sub(1,-2));
 	local ok, err = self.conn:send(msg);
 	if not ok then
 		log("error", "Could not write to socket: %s", err);