Mercurial > prosody-hg
diff plugins/mod_saslauth.lua @ 12718:27a4a7e64831
mod_saslauth: Only announce bind feature if no resource yet bound
It's now possible to bind during SASL2 negotiation.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 03 Sep 2022 21:19:00 +0100 |
| parents | e9865b0cfb89 |
| children | 7830db3c38c3 |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Sat Sep 03 21:17:38 2022 +0100 +++ b/plugins/mod_saslauth.lua Sat Sep 03 21:19:00 2022 +0100 @@ -352,7 +352,7 @@ authmod, available_disabled); end - else + elseif not session.full_jid then features:tag("bind", bind_attr):tag("required"):up():up(); features:tag("session", xmpp_session_attr):tag("optional"):up():up(); end
