mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 11:28:41 +01:00
Merge pull request #826 from vichan-devel/RealAngeleno-patch-13
minor bugfix relating to auth when changing your own username
This commit is contained in:
commit
c88acfc4f0
@ -10,7 +10,7 @@ use Vichan\Functions\Net;
|
||||
defined('TINYBOARD') or exit;
|
||||
|
||||
// create a hash/salt pair for validate logins
|
||||
function mkhash(string $username, string $password, mixed $salt = false): array|string {
|
||||
function mkhash(string $username, ?string $password, mixed $salt = false): array|string {
|
||||
global $config;
|
||||
|
||||
if (!$salt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user