mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 12:46:38 +02:00
[ticket/15723] Rewrite unique_id too
PHPBB3-15723
This commit is contained in:
@ -115,7 +115,7 @@ function gen_rand_string_friendly($num_chars = 8)
|
||||
*/
|
||||
function unique_id()
|
||||
{
|
||||
return bin2hex(random_bytes(8));
|
||||
return gen_rand_string(32);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user