1
mirror of https://gitlab.com/commento/commento.git synced 2025-04-28 06:30:28 -04:00
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));