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));