Browse Source

fix git error

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

3
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>
<ul>
<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="reading.html">Lectures</a></li>
</ul>
@ -158,4 +157,4 @@
<a href="#mentions-legales" target="_blank">Mentions légales + points d'amélioration.</a> <br> Mise en page par
SERNY Sacha. Données par <a href="https://www.wikipedia.org">Wikipedia</a>
</footer>
</body>
</body>

3
sign_in.php

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

Loading…
Cancel
Save