From b6cf9927aed1d114fb8ad8bb3361b96bb146a2c5 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Fri, 2 Jan 2026 22:58:36 +0000 Subject: [PATCH] a --- Controleur/ControleurConnexion.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index d7abbdb..dbfbf68 100644 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -156,7 +156,18 @@ require_once 'Framework/Localisation.php'; } // Fin test Licence - + if($utilisateur['extranetActif']<>1) + { + if ($_SESSION['lang']=="en_US") + { + $this->genererVue(array('msgErreur' => 'Extranet disabled!'), "index"); + } + else + { + $this->genererVue(array('msgErreur' => 'Extranet désactivé!'), "index"); + } + exit(); + } if($utilisateur['actif']<>1) {