mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +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
|
elseif not origin.secure and insecure_mechanisms:contains(mechanism) then
|
||||||
log("debug", "Not offering mechanism %s on insecure connection", mechanism);
|
log("debug", "Not offering mechanism %s on insecure connection", mechanism);
|
||||||
else
|
else
|
||||||
|
log("debug", "Offering mechanism %s", mechanism);
|
||||||
mechanisms:tag("mechanism"):text(mechanism):up();
|
mechanisms:tag("mechanism"):text(mechanism):up();
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue