1
0
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:
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() function unique_id()
{ {
return bin2hex(random_bytes(8)); return gen_rand_string(32);
} }
/** /**