From bf19a78b813ce71c4400e45571ae6645d38e9075 Mon Sep 17 00:00:00 2001 From: Whykioh Date: Thu, 19 Mar 2026 13:42:09 +0100 Subject: [PATCH] azertyuiopqsdfghjklmwxcvbn --- poker-paf/Js/admin-game.js | 1 + 1 file changed, 1 insertion(+) diff --git a/poker-paf/Js/admin-game.js b/poker-paf/Js/admin-game.js index 599923e..241a11d 100644 --- a/poker-paf/Js/admin-game.js +++ b/poker-paf/Js/admin-game.js @@ -35,6 +35,7 @@ async function SqlRequest(action, params = {}) { // Fonctions pour démarrer la page window.onload = async function() { SqlRequest('is_admin').then(result => { + console.log("Vérification des droits administrateur :", result); if (!result.is_admin) { alert("Vous n'avez pas les droits pour accéder à cette page."); window.location.href = 'index.html';