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