1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00
Files
commento/frontend/js/logout.js
2018-06-20 09:07:18 +05:30

9 lines
173 B
JavaScript

(function (global, document) {
global.logout = function() {
global.cookieSet("commentoOwnerToken", "");
document.location = "/login";
}
} (window, document));