From 2213f97f378335c0e63e3e1fbbe89259a1ea6742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 3 Feb 2024 17:11:41 +0100 Subject: [PATCH] debug print --- endpoints/global/account.php | 1 - lib/account.php | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/endpoints/global/account.php b/endpoints/global/account.php index faec631..51da7f4 100644 --- a/endpoints/global/account.php +++ b/endpoints/global/account.php @@ -4,7 +4,6 @@ require_once "lib/account.php"; function endpoint($endpoint_data): array { - print_r($endpoint_data); return match ($endpoint_data["action"]) { //not logged in start diff --git a/lib/account.php b/lib/account.php index 181b300..3e7b2b3 100644 --- a/lib/account.php +++ b/lib/account.php @@ -88,6 +88,8 @@ function verifyPassword($userID, $password): bool function doLogin($email, $password): array { + echo $email; + echo $password; global $mysqli, $routerConfig; $found = false; if (!empty($email) && !empty($password)) {