go-urlsh/web/misc.js

4 lines
148 B
JavaScript
Raw Permalink Normal View History

function Logout() {
document.cookie = 'gourlsh_auth=; Max-Age=-1; path=/; domain=' + location.hostname;
document.location = "/admin/login"
}