mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
Adding inital support for ANONYMOUS mechanism in SASL.
This commit is contained in:
parent
66155f71aa
commit
5affd107f0
2 changed files with 13 additions and 1 deletions
|
@ -106,6 +106,7 @@ module:add_event_hook("stream-features",
|
|||
-- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so.
|
||||
features:tag("mechanism"):text("PLAIN"):up();
|
||||
features:tag("mechanism"):text("DIGEST-MD5"):up();
|
||||
features:tag("mechanism"):text("ANONYMOUS"):up();
|
||||
features:up();
|
||||
else
|
||||
features:tag("bind", bind_attr):tag("required"):up():up();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue