debug print
This commit is contained in:
parent
e37bfdd291
commit
2213f97f37
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user