mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Fix de bugs
This commit is contained in:
parent
e47d769964
commit
1dda3958d9
11 changed files with 23 additions and 22 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue