whoops, forgot this little debug thing
This commit is contained in:
parent
bd44345016
commit
98f15a5ac3
|
@ -32,9 +32,9 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') {
|
|||
mysqli_stmt_bind_result($stmt, $id, $username, $password_hash, $admin);
|
||||
mysqli_stmt_fetch($stmt);
|
||||
if (!password_verify($password, $password_hash)) {
|
||||
failed_login($password_hash);
|
||||
failed_login();
|
||||
}
|
||||
|
||||
|
||||
session_start();
|
||||
$_SESSION['logged_id'] = true;
|
||||
$_SESSION['id'] = $id;
|
||||
|
|
Loading…
Reference in New Issue