1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 10:55:40 -04:00

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();
}