Fix de bugs

This commit is contained in:
Pierre-Lin Bonnemaison 2015-08-09 21:58:31 +02:00
parent 2533caf1e9
commit 721e1e774a
11 changed files with 23 additions and 22 deletions

View file

@ -52,7 +52,9 @@
return false;
}
if (sha1($password) != $users[0]['password'])
$user = $users[0];
if (sha1($password) != $user['password'])
{
$_SESSION['errormessage'] = 'Cet e-mail n\'existe pas.';
header('Location: ' . $this->generateUrl('connect', 'login'));