Commit 02e74ed3 authored by JC Brand's avatar JC Brand

Merge pull request #587 from davec82/master

logout if you are using auto_login=true
parents 894bc41a c2953480
...@@ -753,6 +753,7 @@ ...@@ -753,6 +753,7 @@
}; };
this.logOut = function () { this.logOut = function () {
converse.auto_login = false;
converse.chatboxviews.closeAllChatBoxes(false); converse.chatboxviews.closeAllChatBoxes(false);
converse.clearSession(); converse.clearSession();
converse.connection.disconnect(); converse.connection.disconnect();
......
...@@ -297,7 +297,7 @@ ...@@ -297,7 +297,7 @@
], ],
"Log out": [ "Log out": [
null, null,
"Logo out" "Log out"
], ],
"Contact name": [ "Contact name": [
null, null,
...@@ -837,4 +837,4 @@ ...@@ -837,4 +837,4 @@
] ]
} }
} }
} }
\ No newline at end of file
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