aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-21 10:15:47 +0100
committerKim Alvefur <zash@zash.se>2017-12-21 10:15:47 +0100
commit0611c96a56d6121f1c0fac377d3e3fa6f76f49b8 (patch)
treeef5786a0f6b8aef8240ffc5aae6b17728034309f /plugins/mod_saslauth.lua
parent98e2e58ff68f7be72a507e7176e47d9c5b1927c4 (diff)
downloadprosody-0611c96a56d6121f1c0fac377d3e3fa6f76f49b8.tar.gz
prosody-0611c96a56d6121f1c0fac377d3e3fa6f76f49b8.zip
mod_saslauth: Log which mechanisms are offered
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua1
1 files changed, 1 insertions, 0 deletions
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