summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 8ccce897..37f18f81 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -476,7 +476,7 @@ function save_salt($user_id, $passwd)
function generate_salt()
{
- return md5(uniqid(rand(), true));
+ return md5(uniqid(mt_rand(), true));
}
function salted_hash($passwd, $salt)