mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
logout.js: delete cookie instead of empty write
Closes https://gitlab.com/commento/commento-ce/issues/73
This commit is contained in:
1 parent
99177a59c3
commit
89a81ece19
1 file changed
+1
-1
@@ -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