From 2d4c94e612c88e608c8b94980b6af34884ca6eb8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 21 Dec 2017 10:15:47 +0100 Subject: mod_saslauth: Log which mechanisms are offered --- plugins/mod_saslauth.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 81400e45..b5ec4057 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -263,6 +263,7 @@ module:hook("stream-features", function(event) 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 -- cgit v1.2.3