From 6aafba172f988a740147e97d11170335ca355ed8 Mon Sep 17 00:00:00 2001 From: Pelle <etienne.brateau@gmail.com> Date: Fri, 4 Dec 2015 06:02:15 +0100 Subject: [PATCH] silver fait gaffe --- login.php | 2 +- login_backend.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/login.php b/login.php index 7cc4f27..d270c7c 100644 --- a/login.php +++ b/login.php @@ -8,7 +8,7 @@ require_once 'header.php'; <input type="text" name="login"> <br/> Mot de passe:<br/> - <input type="password" name="passwd"> + <input type="password" name="password"> <br/> <input type="submit" value="Connexion"> </form> diff --git a/login_backend.php b/login_backend.php index 46f4fca..9480534 100644 --- a/login_backend.php +++ b/login_backend.php @@ -24,7 +24,7 @@ if(isset($_POST['login']) && isset($_POST['password']) && !empty($_POST['login'] } } catch(Exception $e){ - header('Location: index.php?err=1'); + header('Location: index.php?err=2'); } header('Location: index.php'); } -- GitLab