From c9d709e5da00e53c187b5cd7732766b837b0ad63 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sat, 4 Jul 2026 07:58:05 +0000 Subject: [PATCH] a --- Controleur/ControleurConnexion.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index af0817f..7b36ca5 100755 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -669,7 +669,16 @@ class ControleurConnexion extends Controleur $this->requete->getSession()->setAttribut("dossierLogo", $dossierLogo); $this->requete->getSession()->setAttribut("dossierAssure", $utilisateur['dossierAssure']); $this->requete->getSession()->setAttribut("envoismswhatsappactif", $utilisateur['envoismswhatsappactif']); - + + if($utilisateur['crypterPhoto']=="1" && file_exists('/var/www/keys/inter-sante-photo.key')) + { + $_SESSION['crypterPhoto']="1"; + } + else + { + $_SESSION['crypterPhoto']="0"; + } + $_SESSION['idLogapiface'] = "0"; // fin 26/09/2025