logout.js: delete cookie instead of empty write
Closes https://gitlab.com/commento/commento-ce/issues/73
This commit is contained in:
parent
99177a59c3
commit
89a81ece19
@ -1,7 +1,7 @@
|
||||
(function (global, document) {
|
||||
|
||||
global.logout = function() {
|
||||
global.cookieSet("commentoOwnerToken", "");
|
||||
global.cookieDelete("commentoOwnerToken");
|
||||
document.location = global.commentoOrigin + "/login";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user