Missed a file.

This commit is contained in:
Greg Sarjeant 2025-06-12 16:50:25 -04:00
parent 3fbeaf87e3
commit 2c330efc64

View File

@ -28,7 +28,6 @@ class AuthController extends Controller {
// TODO: move into user model
global $db;
//$db = Util::get_db();
$stmt = $db->prepare("SELECT id, username, password_hash FROM user WHERE username = ?");
$stmt->execute([$username]);
$user = $stmt->fetch();