mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth: Only announce bind feature if no resource yet bound
It's now possible to bind during SASL2 negotiation.
This commit is contained in:
parent
928fe5d059
commit
5eef82fdcf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue