diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-21 10:15:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-21 10:15:47 +0100 |
commit | 0611c96a56d6121f1c0fac377d3e3fa6f76f49b8 (patch) | |
tree | ef5786a0f6b8aef8240ffc5aae6b17728034309f | |
parent | 98e2e58ff68f7be72a507e7176e47d9c5b1927c4 (diff) | |
download | prosody-0611c96a56d6121f1c0fac377d3e3fa6f76f49b8.tar.gz prosody-0611c96a56d6121f1c0fac377d3e3fa6f76f49b8.zip |
mod_saslauth: Log which mechanisms are offered
-rw-r--r-- | plugins/mod_saslauth.lua | 1 |
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 |