|
@ -16,9 +16,6 @@ if (isset($_POST['submit'])) { |
|
|
$look = $bdd->prepare("SELECT * FROM membres WHERE mail = ?"); |
|
|
$look = $bdd->prepare("SELECT * FROM membres WHERE mail = ?"); |
|
|
$look->execute(array($email)); |
|
|
$look->execute(array($email)); |
|
|
$check = $look->fetch(); |
|
|
$check = $look->fetch(); |
|
|
var_dump($check['password']); |
|
|
|
|
|
var_dump($password); |
|
|
|
|
|
var_dump(password_verify($password, $check['password'])); |
|
|
|
|
|
$response ="here"; |
|
|
$response ="here"; |
|
|
if ($check['mail'] != $email) { |
|
|
if ($check['mail'] != $email) { |
|
|
$response = "Ce compte n'existe pas."; |
|
|
$response = "Ce compte n'existe pas."; |
|
|