reset title and favicon on logout

This commit is contained in:
or-else
2018-09-27 20:26:14 +03:00
parent 62cac29071
commit dba9500825
+1
View File
@@ -5116,6 +5116,7 @@ class TinodeWeb extends React.Component {
}
handleLogout() {
updateFavicon(0);
localStorage.removeItem("auth-token");
if (this.tinode) {
this.tinode.onDisconnect = undefined;