From 5305fcabb6ed93aeebc16ac6a2d8257c97a7d16f Mon Sep 17 00:00:00 2001 From: Bruno Eckhardt Date: Mon, 6 Jul 2026 14:13:33 +0200 Subject: [PATCH] logout fix --- WEBROOT/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEBROOT/main.js b/WEBROOT/main.js index b3ebf8f..f8bd056 100644 --- a/WEBROOT/main.js +++ b/WEBROOT/main.js @@ -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'; });