Diff

plugins/mod_saslauth.lua @ 8479:867679b0fb03

mod_saslauth: Log which mechanisms are offered
author Kim Alvefur <zash@zash.se>
date Thu, 21 Dec 2017 10:15:47 +0100
parent 8234:97b3ca502547
child 8509:e1d274001855
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Tue Dec 12 01:40:09 2017 +0100
+++ b/plugins/mod_saslauth.lua	Thu Dec 21 10:15:47 2017 +0100
@@ -263,6 +263,7 @@
 			elseif not origin.secure and insecure_mechanisms:contains(mechanism) then
 				log("debug", "Not offering mechanism %s on insecure connection", mechanism);
 			else
+				log("debug", "Offering mechanism %s", mechanism);
 				mechanisms:tag("mechanism"):text(mechanism):up();
 			end
 		end