diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-09-03 21:19:00 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-09-03 21:19:00 +0100 |
commit | 5eef82fdcfe3163b1d23b04058dc41b7848b7976 (patch) | |
tree | a977afde2c843d5dd70dfe8dcee08b5bb7325cb6 /plugins | |
parent | 928fe5d0598c7d2348497a508f11b97a757543f5 (diff) | |
download | prosody-5eef82fdcfe3163b1d23b04058dc41b7848b7976.tar.gz prosody-5eef82fdcfe3163b1d23b04058dc41b7848b7976.zip |
mod_saslauth: Only announce bind feature if no resource yet bound
It's now possible to bind during SASL2 negotiation.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index c7228b10..2552a253 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -352,7 +352,7 @@ module:hook("stream-features", function(event) 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 |