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