From 8073d6c29eead7345ec76683d5aa85f36f7fa144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 3 Feb 2024 17:12:18 +0100 Subject: [PATCH] debug print --- lib/account.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/account.php b/lib/account.php index 3e7b2b3..c60d69d 100644 --- a/lib/account.php +++ b/lib/account.php @@ -88,8 +88,6 @@ function verifyPassword($userID, $password): bool function doLogin($email, $password): array { - echo $email; - echo $password; global $mysqli, $routerConfig; $found = false; if (!empty($email) && !empty($password)) { @@ -109,6 +107,7 @@ function doLogin($email, $password): array $stmt->bind_result($uid, $first_name, $last_name, $nickname, $password_hash, $minecraft_nickname, $privilege_level, $lastLoginAt, $loginCount); if ($stmt->num_rows() > 0) { + echo "user found"; $stmt->fetch(); if (password_verify($password, $password_hash)) { $found = true;