impl mailcow git support

This commit is contained in:
rnsrk 2025-04-22 06:58:36 +02:00
parent 385a7a5302
commit 4fd6bfddd6
23 changed files with 238 additions and 83 deletions

View file

@ -5,6 +5,16 @@ document.addEventListener('DOMContentLoaded', function () {
window.location.href = '/user';
}
});
// logout function
function mc_logout() {
fetch("/", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: "logout=1"
}).then(() => window.location.href = '/');
}
// Custom SOGo JS