logout fix

This commit is contained in:
Bruno Eckhardt committed 2026-07-06 14:13:33 +02:00
1 parent 3f7c840c39
commit 5305fcabb6
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ document.querySelectorAll('.group-title').forEach(title => {
const logoutButton = document.getElementById('logoutButton');
logoutButton.addEventListener('click', () => {
fetch('services/logout.php', { method: 'POST' })
fetch('logout.php', { method: 'POST' })
.then(() => {
window.location.href = 'login.php';
});