reset title and favicon on logout
This commit is contained in:
@@ -5116,6 +5116,7 @@ class TinodeWeb extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleLogout() {
|
handleLogout() {
|
||||||
|
updateFavicon(0);
|
||||||
localStorage.removeItem("auth-token");
|
localStorage.removeItem("auth-token");
|
||||||
if (this.tinode) {
|
if (this.tinode) {
|
||||||
this.tinode.onDisconnect = undefined;
|
this.tinode.onDisconnect = undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user