debug print

This commit is contained in:
Bruno Rybársky 2024-02-03 17:11:41 +01:00
parent e37bfdd291
commit 2213f97f37
2 changed files with 2 additions and 1 deletions

@ -4,7 +4,6 @@ require_once "lib/account.php";
function endpoint($endpoint_data): array function endpoint($endpoint_data): array
{ {
print_r($endpoint_data);
return match ($endpoint_data["action"]) { return match ($endpoint_data["action"]) {
//not logged in start //not logged in start

@ -88,6 +88,8 @@ function verifyPassword($userID, $password): bool
function doLogin($email, $password): array function doLogin($email, $password): array
{ {
echo $email;
echo $password;
global $mysqli, $routerConfig; global $mysqli, $routerConfig;
$found = false; $found = false;
if (!empty($email) && !empty($password)) { if (!empty($email) && !empty($password)) {