Commit c8310df2 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Always offer non-SASL Authentication stream feature. JM-706

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3951 b35dd754-fafc-0310-a699-88a17e54d16e
parent 37c0650f
......@@ -695,9 +695,7 @@ public class ClientSession extends Session {
if (getAuthToken() == null) {
// Advertise that the server supports Non-SASL Authentication
if (XMPPServer.getInstance().getIQAuthHandler().isAllowAnonymous()) {
sb.append("<auth xmlns=\"http://jabber.org/features/iq-auth\"/>");
}
sb.append("<auth xmlns=\"http://jabber.org/features/iq-auth\"/>");
// Advertise that the server supports In-Band Registration
if (XMPPServer.getInstance().getIQRegisterHandler().isInbandRegEnabled()) {
sb.append("<register xmlns=\"http://jabber.org/features/iq-register\"/>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment