mod_saslauth: Log which mechanisms are offered
authorKim Alvefur <zash@zash.se>
Thu, 21 Dec 2017 10:15:47 +0100
changeset 8482 867679b0fb03
parent 8481 384658c7a26a
child 8483 3d3706147174
child 8497 4f75f4da6d4e
mod_saslauth: Log which mechanisms are offered
plugins/mod_saslauth.lua
--- 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