Merge pull request #587 from davec82/master

logout if you are using auto_login=true
This commit is contained in:
JC Brand 2016-02-16 08:41:32 +01:00
commit 02e74ed377
2 changed files with 3 additions and 2 deletions

View File

@ -753,6 +753,7 @@
};
this.logOut = function () {
converse.auto_login = false;
converse.chatboxviews.closeAllChatBoxes(false);
converse.clearSession();
converse.connection.disconnect();

View File

@ -297,7 +297,7 @@
],
"Log out": [
null,
"Logo out"
"Log out"
],
"Contact name": [
null,
@ -837,4 +837,4 @@
]
}
}
}
}