candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Candy.Core.connect form change after disconnect #512

Open TheEnigmist opened 6 years ago

TheEnigmist commented 6 years ago

I'm using candy in my web server to connect in my public room from openfire server. I'm using Candy.Core.connect('jid') option to login. All works fine, but when I logout from room (pressed 'X' near room name) the connection form will be the defoult ones (User/Pass required). Why I get this issue and how can I fix it?

EDIT: Even if I fail to put 'jid' password it changes the form to default