From a40c7a306e070173cf7c5fd7d884aad4b58d9446 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 02:01:38 +0000 Subject: [PATCH] Update file login.php --- html/login.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/html/login.php b/html/login.php index fb245926..3c9df379 100644 --- a/html/login.php +++ b/html/login.php @@ -25,6 +25,8 @@ if(isset($_POST['username']) && isset($_POST['password'])) { $_SESSION['userid'] = $resultat[0]['ID']; header("Location: index.php"); exit(); + } else { + $status = "Nom d'utilisateur / mot de passe incorrect"; } } } @@ -69,6 +71,7 @@ if(isset($_POST['username']) && isset($_POST['password'])) {
+