forked from Adleraci/adlerka.top
		
	debug print
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user