From 108017d06e0e6e5fa70b876c61b2a4c3debcac35 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 7 Jan 2026 12:12:28 +0000 Subject: [PATCH 1/8] a --- Js/fonctions.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 8832cf8..c40341a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3663,10 +3663,6 @@ function liste_mouvemements_assures_client() donnees += '&valide='+valide; donnees += '&debut='+debut+'&fin='+fin; - alert(donnees); - return; - - $("#div_mvt").html(`
From 1b7206ff1da933a6e1ce829f2502383ab785814d Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:14:47 +0000 Subject: [PATCH 2/8] a --- Vue/Changermotpass/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vue/Changermotpass/index.php b/Vue/Changermotpass/index.php index 84cd684..7393263 100755 --- a/Vue/Changermotpass/index.php +++ b/Vue/Changermotpass/index.php @@ -46,12 +46,14 @@
+ From ba0d6ceda226eca0626dd9cc1b73024eea1eb7fa Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:20:28 +0000 Subject: [PATCH 3/8] a --- Vue/Changermotpass/index_2026_01_08.php | 323 ++++++++++++++++++++++++ 1 file changed, 323 insertions(+) create mode 100755 Vue/Changermotpass/index_2026_01_08.php diff --git a/Vue/Changermotpass/index_2026_01_08.php b/Vue/Changermotpass/index_2026_01_08.php new file mode 100755 index 0000000..84cd684 --- /dev/null +++ b/Vue/Changermotpass/index_2026_01_08.php @@ -0,0 +1,323 @@ +titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); +?> + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+
+ +
+ + +
+
+
+
+
+ +
+
+ + + + +
+
+
+ +
+
+ +
+ + +
+
+ + +
+
+
+ +
+
+ + + + +
+
+
+
+
+ + +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file From e5efc58143e315d55b72da29b52b3448cb39827e Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:37:58 +0000 Subject: [PATCH 4/8] a --- Controleur/ControleurChangermotpass.php | 81 +++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100755 Controleur/ControleurChangermotpass.php diff --git a/Controleur/ControleurChangermotpass.php b/Controleur/ControleurChangermotpass.php new file mode 100755 index 0000000..b477100 --- /dev/null +++ b/Controleur/ControleurChangermotpass.php @@ -0,0 +1,81 @@ +utilisateur = new Utilisateur(); + + $this->menuvue = new Menuvueutilisateur(); + $this->menuvue->getMenuVue('Changermotpass'); + } + + public function index() + { + $this->genererVue(); + } + + public function changerpass() + { + $login = $_SESSION['login']; + if ($this->requete->existeParametre("ancmdp") + && $this->requete->existeParametre("nvmdp") + && $this->requete->existeParametre("cfnvmdp")) + { + $ancmdp = $this->requete->getParametre("ancmdp"); + $nvmdp = $this->requete->getParametre("nvmdp"); + $cfnvmdp = $this->requete->getParametre("cfnvmdp"); + + // Ici on va faire intervenir la complexité du mot de passe + $tb_complexitePassWord = $this->utilisateur->getcomplexitepassword(); + $complexitePassWord = $tb_complexitePassWord['complexitePassWord']; + $longueurPassWord = $tb_complexitePassWord['longueurPassWord']; + + if (strlen($nvmdp)<$longueurPassWord) + { + $this->genererVue(array('msgErreur' => _('Veuillez revoir la longueur du mot de passe!')), "index"); + }/* + else if ( strlen($complexitePassWord)>1 && !(preg_match($complexitePassWord, $nvmdp)) ) + { + $this->genererVue(array('msgErreur' => 'Mot de passe non conforme!'), "index"); + }*/ + else if ($nvmdp!=$cfnvmdp) + { + $this->genererVue(array('msgErreur' => _('Veuillez confirmer votre nouveau mot de passe!')), "index"); + } + else if ($nvmdp==$ancmdp) + { + $this->genererVue(array('msgErreur' => _('Veuillez changer de mot de passe!')), "index"); + } + else if (!$this->utilisateur->respecteoldpass($login, $nvmdp)) + { + $this->genererVue(array('msgErreur' => _('Mot de passe récemment utilsé!')), "index"); + } + else if ($this->utilisateur->connecter($login, $ancmdp)) + { + $this->utilisateur->changerpass($login, $ancmdp, $nvmdp); + // $this->rediriger("Recherche"); + // ajout KANE du 24/03/2025 + $this->rediriger("Connexion/deconnecter/"); + exit(); + + } + else + { + $this->genererVue(array('msgErreur' => _('Ancien mot de passe incorrect!')), "index"); + } + } + else + { + $this->genererVue(array('msgErreur' => _('Veuillez revoir votre saisie!')), "index"); + } + } +} \ No newline at end of file From 73958697bef9f4960d986d84ef95e901f4d169ed Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:39:45 +0000 Subject: [PATCH 5/8] a --- Vue/Changermotpass/Changermotpass/index.php | 347 ++++++++++++++++++ .../Changermotpass/index_2026_01_08.php | 323 ++++++++++++++++ 2 files changed, 670 insertions(+) create mode 100755 Vue/Changermotpass/Changermotpass/index.php create mode 100755 Vue/Changermotpass/Changermotpass/index_2026_01_08.php diff --git a/Vue/Changermotpass/Changermotpass/index.php b/Vue/Changermotpass/Changermotpass/index.php new file mode 100755 index 0000000..43d67e8 --- /dev/null +++ b/Vue/Changermotpass/Changermotpass/index.php @@ -0,0 +1,347 @@ +titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); +?> + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+ +
+
+ +
+ + +
+
+ + +
+
+
+ +
+
+ + + + +
+
+
+
+
+ + +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/Vue/Changermotpass/Changermotpass/index_2026_01_08.php b/Vue/Changermotpass/Changermotpass/index_2026_01_08.php new file mode 100755 index 0000000..84cd684 --- /dev/null +++ b/Vue/Changermotpass/Changermotpass/index_2026_01_08.php @@ -0,0 +1,323 @@ +titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); +?> + +
+
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+
+ +
+ + +
+
+
+
+
+ +
+
+ + + + +
+
+
+ +
+
+ +
+ + +
+
+ + +
+
+
+ +
+
+ + + + +
+
+
+
+
+ + +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file From a533318f6976774044a177f51cbed3b8d8cdf552 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:42:03 +0000 Subject: [PATCH 6/8] a --- Vue/Changermotpass/Changermotpass/index.php | 347 ------------------ .../Changermotpass/index_2026_01_08.php | 323 ---------------- Vue/Changermotpass/index.php | 48 ++- 3 files changed, 35 insertions(+), 683 deletions(-) delete mode 100755 Vue/Changermotpass/Changermotpass/index.php delete mode 100755 Vue/Changermotpass/Changermotpass/index_2026_01_08.php diff --git a/Vue/Changermotpass/Changermotpass/index.php b/Vue/Changermotpass/Changermotpass/index.php deleted file mode 100755 index 43d67e8..0000000 --- a/Vue/Changermotpass/Changermotpass/index.php +++ /dev/null @@ -1,347 +0,0 @@ -titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); -?> - -
-
-
-
-
- -
- - -
-
-
-
-
- -
- - -
-
-
- -
-
- -
- - -
-
-
-
-
- -
- -
-
- -
-
- -
- - -
-
- - -
-
-
- -
-
- - - - -
-
-
-
-
- - -
- -
- -
-
-
-
- - - - \ No newline at end of file diff --git a/Vue/Changermotpass/Changermotpass/index_2026_01_08.php b/Vue/Changermotpass/Changermotpass/index_2026_01_08.php deleted file mode 100755 index 84cd684..0000000 --- a/Vue/Changermotpass/Changermotpass/index_2026_01_08.php +++ /dev/null @@ -1,323 +0,0 @@ -titre = "INTER-SANTÉ - ". _("Changement de mot de passe"); -?> - -
-
-
-
-
- -
- - -
-
-
-
-
- -
- - -
-
-
- -
-
- -
- - -
-
-
-
-
- -
-
- - - - -
-
-
- -
-
- -
- - -
-
- - -
-
-
- -
-
- - - - -
-
-
-
-
- - -
- -
- -
-
-
-
- - - - \ No newline at end of file diff --git a/Vue/Changermotpass/index.php b/Vue/Changermotpass/index.php index 7393263..43d67e8 100755 --- a/Vue/Changermotpass/index.php +++ b/Vue/Changermotpass/index.php @@ -111,15 +111,21 @@ .password-change-container { max-width: 100%; margin: 0 auto; - padding: 20px; + /*padding: 20px;*/ + padding: 0px; } .password-change-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); + /* padding: 30px; margin-top: 20px; + */ + padding: 0px; + margin-top: 0px; + } .password-change-header .alert { @@ -128,12 +134,14 @@ } .password-change-form .form-group { - margin-bottom: 1.5rem; + /*margin-bottom: 1.5rem;*/ + margin-bottom: 0rem; } .password-change-form .form-label { font-weight: 400; - margin-bottom: 0.5rem; + /*margin-bottom: 0.5rem;*/ + margin-bottom: 0rem; color: #333; font-size:1.8rem !important; } @@ -158,13 +166,18 @@ .form-actions { display: flex; + /* gap: 15px; margin-top: 2rem; + */ + gap: 0px; + margin-top: 0rem; } .form-actions .btn { flex: 1; - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } /* Large screens optimization */ @@ -175,18 +188,21 @@ } .password-change-card { - padding: 40px; + /*padding: 40px;*/ + padding: 0px; } } /* Responsive adjustments */ @media (max-width: 768px) { .password-change-container { - padding: 15px; + /*padding: 15px;*/ + padding: 0px; } .password-change-card { - padding: 20px; + /*padding: 20px;*/ + padding: 0px; } .form-actions { @@ -196,11 +212,13 @@ @media (max-width: 576px) { .password-change-container { - padding: 10px; + /*padding: 10px;*/ + padding: 0px; } .password-change-card { - padding: 15px; + /*padding: 15px;*/ + padding: 0px; border-radius: 8px; } @@ -209,22 +227,26 @@ } .form-actions .btn { - padding: 10px; + /*padding: 10px;*/ + padding: 0px; } } /* Very small screens */ @media (max-width: 375px) { .password-change-container { - padding: 5px; + /*padding: 5px;*/ + padding: 0px; } .password-change-card { - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } .password-change-header .alert { - padding: 12px; + /*padding: 12px;*/ + padding: 0px; } } From df045f276554499bc9f64af2f751a08a3b65d993 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 8 Jan 2026 19:43:45 +0000 Subject: [PATCH 7/8] a --- Modele/Utilisateur.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modele/Utilisateur.php b/Modele/Utilisateur.php index 48c732e..7cedb97 100755 --- a/Modele/Utilisateur.php +++ b/Modele/Utilisateur.php @@ -33,7 +33,7 @@ class Utilisateur extends Modele { public function changerpass($login, $ancmdp, $nvmdp) { $hash = password_hash($nvmdp, PASSWORD_DEFAULT); - $sql = "call sp_a_changer_mot_passe_assure(?, ?)"; + $sql = "call sp_c_changer_mot_passe_client(?, ?)"; $this->executerRequete($sql, array($hash, $login)); $_SESSION['passExpired'] = false; $_SESSION['passAchanger'] = false; From 33343a90538de003ac89a5edd3710e6dea57f3fb Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 11 Jan 2026 05:45:36 +0000 Subject: [PATCH 8/8] a --- Framework/Moritio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Moritio.php b/Framework/Moritio.php index 6d9a8cd..3a2eaf2 100755 --- a/Framework/Moritio.php +++ b/Framework/Moritio.php @@ -6,7 +6,7 @@ function getMoritio_2() { - return "2026-01-31"; + return "2027-01-31"; } function getLicensed($codeSociete, $nomSociete)