mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
commento.js: reset selfHex and state when logging out
This commit is contained in:
1 parent
5faa727ef8
commit
8dbeecf71e
1 file changed
+3
@@ -231,6 +231,9 @@
|
||||
|
||||
global.logout = function() {
|
||||
cookieSet("commentoCommenterToken", "anonymous");
|
||||
isAuthenticated = false;
|
||||
isModerator = false;
|
||||
selfHex = undefined;
|
||||
refreshAll();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user