diff --git a/forgotPassword-praticien.php b/forgotPassword-praticien.php index a8c3bdd..f83065d 100644 --- a/forgotPassword-praticien.php +++ b/forgotPassword-praticien.php @@ -21,7 +21,7 @@ $pdo = dbConnect(); ?>
Doct'ISEN
diff --git a/forgotPassword.php b/forgotPassword.php index 09030c7..a1f3016 100644 --- a/forgotPassword.php +++ b/forgotPassword.php @@ -21,7 +21,7 @@ $pdo = dbConnect(); ?>Doct'ISEN
diff --git a/index.php b/index.html similarity index 99% rename from index.php rename to index.html index 314c3b3..79f6e2d 100644 --- a/index.php +++ b/index.html @@ -2,7 +2,7 @@ -Doct'ISEN
diff --git a/login.php b/login.php index 9913c67..c564acc 100644 --- a/login.php +++ b/login.php @@ -23,7 +23,7 @@Doct'ISEN
@@ -60,7 +60,7 @@ if($login != false){ error_log("Login success"); $_SESSION['token'] = base64_encode("patient:".strval($login)); - echo ''; + echo ''; } else { error_log('Erreur de connexion'); } diff --git a/signup-praticien.php b/signup-praticien.php index 7cfb68d..87ba5de 100644 --- a/signup-praticien.php +++ b/signup-praticien.php @@ -23,7 +23,7 @@ session_start(); ?>Doct'ISEN
@@ -98,7 +98,7 @@ session_start(); if(SignupMedecin::insertMedecin($pdo,$name,$surname,$mail, $password,$specialite,$phone,$codePostal)){ error_log("Signup success"); $_SESSION['id'] = $mail; - echo ''; + echo ''; } else { error_log("Erreur d'inscription"); } diff --git a/signup.php b/signup.php index 44d3b94..c354103 100644 --- a/signup.php +++ b/signup.php @@ -23,7 +23,7 @@ session_start(); ?>Doct'ISEN
@@ -88,7 +88,7 @@ session_start(); if(SignupPatient::Insert($pdo,$name,$surname,$mail,$password,$phone)){ error_log("Signup success"); $_SESSION['id'] = $mail; - echo ''; + echo ''; } else { error_log('Erreur de connexion'); } diff --git a/src/php/components/check.php b/src/php/components/check.php index df3c54f..732ea7a 100644 --- a/src/php/components/check.php +++ b/src/php/components/check.php @@ -14,7 +14,7 @@ function checkMedecin(){ return true; } else { if($token[0] == "patient"){ - echo ''; + echo ''; return false; } else { echo ''; @@ -22,7 +22,7 @@ function checkMedecin(){ } } } else { - echo ''; + echo ''; return false; } } @@ -34,7 +34,7 @@ function checkPatient(){ return true; } else { if($token[0] == "medecin"){ - echo ''; + echo ''; return false; } else { echo ''; @@ -42,7 +42,7 @@ function checkPatient(){ } } } else { - echo ''; + echo ''; return false; } } diff --git a/src/php/db/scripts/deconnexion.php b/src/php/db/scripts/deconnexion.php index 97001dd..1aa0918 100644 --- a/src/php/db/scripts/deconnexion.php +++ b/src/php/db/scripts/deconnexion.php @@ -4,6 +4,6 @@ error_reporting(E_ALL); session_start(); unset($_SESSION["token"]); //Redirect to the rdv.php page -echo ''; +echo ''; ?> \ No newline at end of file