about summary refs log tree commit diff
path: root/hosted/logout.js
blob: 4dedd4d3c6c49c87261b0d3f44213de899000c31 (plain)
1
2
3
4
5
function logoutThenRedirect() {
    $.post("/logout").done(function(data) {
        window.location.replace("/");
    });
}