everywhere: allow subdir-ed origin setups
Closes https://gitlab.com/commento/commento-ce/issues/61
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
global.logout = function() {
|
||||
global.cookieSet("commentoOwnerToken", "");
|
||||
document.location = "/login";
|
||||
document.location = global.commentoOrigin + "/login";
|
||||
}
|
||||
|
||||
} (window, document));
|
||||
|
||||
Reference in New Issue
Block a user