commento.js: reset selfHex and state when logging out
This commit is contained in:
parent
5faa727ef8
commit
8dbeecf71e
@ -231,6 +231,9 @@
|
|||||||
|
|
||||||
global.logout = function() {
|
global.logout = function() {
|
||||||
cookieSet("commentoCommenterToken", "anonymous");
|
cookieSet("commentoCommenterToken", "anonymous");
|
||||||
|
isAuthenticated = false;
|
||||||
|
isModerator = false;
|
||||||
|
selfHex = undefined;
|
||||||
refreshAll();
|
refreshAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user