From 89a81ece190b7e253deebedd03afc2fc4679b578 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Sun, 12 Aug 2018 22:33:40 +0530 Subject: [PATCH] logout.js: delete cookie instead of empty write Closes https://gitlab.com/commento/commento-ce/issues/73 --- frontend/js/logout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/logout.js b/frontend/js/logout.js index e3e9182..6b01606 100644 --- a/frontend/js/logout.js +++ b/frontend/js/logout.js @@ -1,7 +1,7 @@ (function (global, document) { global.logout = function() { - global.cookieSet("commentoOwnerToken", ""); + global.cookieDelete("commentoOwnerToken"); document.location = global.commentoOrigin + "/login"; }