mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_saslauth: Log which mechanisms are offered
This commit is contained in:
parent
cf3af7a85c
commit
2d4c94e612
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue