Changeset

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 2860:a7c2df6b2662
children 2862:933049a60ce6
files mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);