Fix broken login

This commit is contained in:
Zankaria 2024-05-11 00:04:20 +02:00
parent 8170e226ec
commit b90d6f5680

View File

@ -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) {