diff --git a/public/connexion.php b/public/connexion.php
index 75be731959f645837d254a2474af54350a01189d..0464a8ba51dc19dc974fea603d89fb70549728af 100644
--- a/public/connexion.php
+++ b/public/connexion.php
@@ -55,6 +55,7 @@ if (isset($_POST['connexion'])&&isset($_POST['page'])&&isset($_POST['pseudo']) &
 				$_SESSION["inscriptionHidden"] = true;
 				$_SESSION["connexionHidden"] = true;
 				
+				
 				$_SESSION["ok_mdp"] = 1; // mdp valide, pas d'erreur de mdp		
 			}
 			else { // erreur de connexion
diff --git a/public/js/connexion.js b/public/js/connexion.js
index 2f5b510f3cc32a2a24c1f1e0b0a2405881acc836..0a851e62e9010c379bd72a80fef4abfb607f1316 100644
--- a/public/js/connexion.js
+++ b/public/js/connexion.js
@@ -17,18 +17,13 @@ function check_mdp(input) {
 */
 function fenetreModalFermee(fenetreModal) 
 {
-  //console.log("JS: modalFermee appelée");
   var modal = "";
   if (fenetreModal == 1) {
     modal = "inscription";
-    //console.log("modal = inscription");
   }
   if (fenetreModal == 2) {
     modal = "connexion";
-    //console.log("modal = connexion");
-  }
-  
-  
+  }  
   
   document.getElementById('logoPhp').setAttribute('href', 'index.php?modal=' + modal);
   document.getElementById('indexPhp').setAttribute('href', 'index.php?modal=' + modal);
@@ -37,9 +32,7 @@ function fenetreModalFermee(fenetreModal)
 
   if (fenetreModal == 3) {
     modal = "chgtMdp";
-    document.getElementById('logoPhp').setAttribute('href', 'espace_perso.php?modal=' + modal);
-  }
-  
-
-};
-
+    console.log("choupinette");
+    document.getElementById('espacePersoPhp').setAttribute('href', 'espace_perso.php?modal=' + modal);
+  }  
+};
\ No newline at end of file
diff --git a/public/utils/content.php b/public/utils/content.php
index ffdff4e30c73986c0b6b77dc2befbc27e0839f1c..b1e16b1b9a3a631f06f15d9f0190bf752fbe2fb0 100644
--- a/public/utils/content.php
+++ b/public/utils/content.php
@@ -300,9 +300,9 @@ function fenetreModalChgtMdp() {
 						'<div class="alert alert-danger">
 							<span class="invalid_submit">';
 							if ($ok_mdp == 0)
-								echo '<p>Vos mots de passe doivent être identiques !</p>';
+								echo '- Vos mots de passe doivent être identiques ! <br>';
 							if ($ok_mdp == -1)
-								echo '<p>Votre mot de passe actuel est erroné !</p>';							
+								echo '- Votre mot de passe actuel est erroné ! <br>';							
 					echo 
 							'</span>
 						</div>';