1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 01:20:40 +01:00

[ticket/15723] Rewrite unique_id too

PHPBB3-15723
This commit is contained in:
Rubén Calvo 2018-08-08 20:36:16 +02:00
parent ffcfec044b
commit ced8599e30

View File

@ -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);
}
/**