aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit2d4c94e612c88e608c8b94980b6af34884ca6eb8 (patch)
treeef5786a0f6b8aef8240ffc5aae6b17728034309f /plugins
parentcf3af7a85ce0f7df439bd44421b7581f24aeea64 (diff)
downloadprosody-2d4c94e612c88e608c8b94980b6af34884ca6eb8.tar.gz
prosody-2d4c94e612c88e608c8b94980b6af34884ca6eb8.zip
mod_saslauth: Log which mechanisms are offered
Diffstat (limited to 'plugins')
-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