1
mirror of https://gitlab.com/commento/commento.git synced 2025-04-29 06:50:28 -04:00
commento/frontend/js/logout.js
2018-06-05 14:23:32 +05:30

9 lines
162 B
JavaScript

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