mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-30 11:06:37 -04:00
logout.js: delete cookie instead of empty write
Closes https://gitlab.com/commento/commento-ce/issues/73
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
(function (global, document) {
|
||||
|
||||
global.logout = function() {
|
||||
global.cookieSet("commentoOwnerToken", "");
|
||||
global.cookieDelete("commentoOwnerToken");
|
||||
document.location = global.commentoOrigin + "/login";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user