From 2f69af8267bb29718e2432ab3384d84b5573aff8 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 16 Apr 2025 21:06:03 +0200 Subject: [PATCH] auth.php: remove unused global --- inc/mod/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/auth.php b/inc/mod/auth.php index 5e3b7c98..bcf2d037 100644 --- a/inc/mod/auth.php +++ b/inc/mod/auth.php @@ -69,7 +69,7 @@ function test_password(string $db_hash, string|int $version, string $input_passw } function login(string $username, string $password): array|false { - global $mod, $config; + global $mod; $query = prepare("SELECT `id`, `type`, `boards`, `password`, `version` FROM ``mods`` WHERE BINARY `username` = :username"); $query->bindValue(':username', $username);