From b90d6f56807d510a0bcca6dd49b8e81903f2beb6 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 11 May 2024 00:04:20 +0200 Subject: [PATCH] Fix broken login --- 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 c96a0487..f95fbb86 100644 --- a/inc/mod/auth.php +++ b/inc/mod/auth.php @@ -9,7 +9,7 @@ use Vichan\Functions\Net; defined('TINYBOARD') or exit; // create a hash/salt pair for validate logins -function mkhash(string $username, string $password, bool $salt = false): array|string { +function mkhash(string $username, string $password, mixed $salt = false): array|string { global $config; if (!$salt) {