summaryrefslogtreecommitdiff
path: root/it_user.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_user.class')
-rw-r--r--it_user.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_user.class b/it_user.class
index 18c4bbd..7c6a56d 100644
--- a/it_user.class
+++ b/it_user.class
@@ -312,7 +312,7 @@ function create($tags)
*/
function create_uid()
{
- return md5(uniqid(rand())); /* random garbage */
+ return bin2hex(random_bytes(16)); /* random garbage */
}