commento.js: reset selfHex and state when logging out

This commit is contained in:
Adhityaa Chandrasekar 2019-05-15 09:13:56 -07:00
parent 5faa727ef8
commit 8dbeecf71e

View File

@ -231,6 +231,9 @@
global.logout = function() {
cookieSet("commentoCommenterToken", "anonymous");
isAuthenticated = false;
isModerator = false;
selfHex = undefined;
refreshAll();
}