whoops, forgot this little debug thing

This commit is contained in:
hayden 2019-07-01 23:34:31 -05:00
parent bd44345016
commit 98f15a5ac3
1 changed files with 2 additions and 2 deletions

View File

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