Browse Source

fix git error

master
SERNY Sacha 3 years ago
parent
commit
611d87115a
  1. 1
      index.html
  2. 3
      sign_in.php

1
index.html

@ -15,7 +15,6 @@
<h1><a class="_title" href="home.html"><span class="word1">Pop</span><span class="word3">Op</span></a></h1> <h1><a class="_title" href="home.html"><span class="word1">Pop</span><span class="word3">Op</span></a></h1>
<ul> <ul>
<li><a href="fun.html">Fun</a></li> <li><a href="fun.html">Fun</a></li>
<li><a href="top.html">Top</a></li>
<li><a href="index.html">Musiques</a></li> <li><a href="index.html">Musiques</a></li>
<li><a href="reading.html">Lectures</a></li> <li><a href="reading.html">Lectures</a></li>
</ul> </ul>

3
sign_in.php

@ -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.";

Loading…
Cancel
Save