How to logout
See original GitHub issueHello. I am confused how to call the private logout function. Here is my code: Login
converse.initialize({
bosh_service_url: 'http://localhost:7070/http-bind/',
show_controlbox_by_default: true,
debug: true,
auto_login: true,
auto_reconnect: true,
allow_logout: false,
locked_domain: "elemechinc.com",
jid: email_address,
password: password,
auto_join_rooms: [{
"jid": "testing@conference.desktop-bn13agh",
"nick": user_name
}],
message_archiving: "always",
play_sounds: true,
sounds_path: "/osrc/converse/sounds/",
notification_icon: "/osrc/converse/logo/conversejs.png",
use_emojione: true,
emojione_image_path: "/osrc/converse/EmojiOne_3.1.1_128x128_png/"
});
Logout
converse.plugins.add('myplugin', {
initialize: function () {
this._converse.api.user.logout();
}
});
When I call the logout code, it does not work. What am I doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Sign out of Gmail - Android - Google Support
Sign out options · On your Android phone or tablet, open the Gmail app . · In the top right, tap your profile...
Read more >How to sign out of Google account on Android: Check here
On your Android phone or tablet, open the Gmail app. · In the top right, tap on your profile picture. · Tap on...
Read more >How to Sign Out of Google on a Desktop or Mobile Device
How to sign out of Google on an Android · 1. Tap on Settings and select Accounts. · 2. Select Google. · 3....
Read more >How To Sign Out of a Google Account & Sign out of Gmail
In this article, you'll learn how to sign out of a Google account on all platforms (Gmail sign out of all devices):. <<...
Read more >Log out of Instagram - Instagram Help Center
Scroll to the bottom of the page and tap Log out [username]. 4. Tap Log out.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can anyone tell me how to logout and redirect to custom login page ? i have custom login page and once that login is approved i am auto login xmpp users… this part is ok but when i try to logout it not redirecting me back to my custom login page…
@FaizanZahid I did not figure out how to use custom plugins. I stopped my development on that project.