commento.js: reset selfHex and state when logging out

This commit is contained in:
Adhityaa Chandrasekar committed 2019-05-15 09:13:56 -07:00
1 parent 5faa727ef8
commit 8dbeecf71e
1 file changed
+3
+3
View File
@@ -231,6 +231,9 @@
global.logout = function() {
cookieSet("commentoCommenterToken", "anonymous");
isAuthenticated = false;
isModerator = false;
selfHex = undefined;
refreshAll();
}