-
-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
credentials_url is not called after logout and login is using old jid #1767
Comments
If you actually reload the page with Converse, then I think what's actually happening here is that the page doesn't actually reload, in which case it's understandable that You can try manually calling Also, you're using a relatively old version of Converse, 3.3.4. We no longer do any development or bugfixes on that branch. |
Hi @joweste @jcbrand thanks a lot for your support. But event when I reload the page with Converse, Please @joweste how did you manage to solve your issue ? Regards, |
when the user logs out and then in again
Thanks a lot @jcbrand |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
1 I create a plugin to make a logout:.
I have a html button:
<button id="logout-chat">Logout</button>
After I click the button the converse executes the logout and I load a login page of my website.
After the login with a new user, I reload the chat converse page, but the credentials_url is never called again and conversejs use the old initial "jid" before the logout.
Expected behavior
I expected credentials_url to be called to get the new jid of the new user.
Screenshots
--none
Environment (please complete the following information):
Additional context
Here is my initialize:
The text was updated successfully, but these errors were encountered: