<?php
require_once 'config.php';
require_once 'includes/db.php';

$email = 'jumamalcom60@gmail.com';
$stmt = $pdo->prepare("SELECT * FROM users WHERE email = ?");
$stmt->execute([$email]);
$user = $stmt->fetch();

print_r($user);
echo "\n";
// Let's test a common password they might have used like 'password' or '12345678'
echo "password: " . (password_verify('password', $user['password']) ? 'Yes' : 'No') . "\n";
echo "12345678: " . (password_verify('12345678', $user['password']) ? 'Yes' : 'No') . "\n";
echo "admin123: " . (password_verify('admin123', $user['password']) ? 'Yes' : 'No') . "\n";

