Merge pull request #587 from davec82/master
logout if you are using auto_login=true
This commit is contained in:
commit
02e74ed377
|
@ -753,6 +753,7 @@
|
|||
};
|
||||
|
||||
this.logOut = function () {
|
||||
converse.auto_login = false;
|
||||
converse.chatboxviews.closeAllChatBoxes(false);
|
||||
converse.clearSession();
|
||||
converse.connection.disconnect();
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
],
|
||||
"Log out": [
|
||||
null,
|
||||
"Logo out"
|
||||
"Log out"
|
||||
],
|
||||
"Contact name": [
|
||||
null,
|
||||
|
@ -837,4 +837,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user