summaryrefslogtreecommitdiff
path: root/inc/PassHash.class.php
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-08-01 23:06:36 +0200
committerKlap-in <klapinklapin@gmail.com>2013-08-01 23:06:36 +0200
commitde489e8bb4161522864aca1d308b9910387ae4bb (patch)
tree697a6ca1a6a3341598a6272dca6e5cf0ee4cd105 /inc/PassHash.class.php
parentcc036f74ff14c387f24d72f5a52f2f158208846e (diff)
parent4fb6e51447e840624b59742bec61641d606f5006 (diff)
downloadrpg-de489e8bb4161522864aca1d308b9910387ae4bb.tar.gz
rpg-de489e8bb4161522864aca1d308b9910387ae4bb.tar.bz2
Merge remote-tracking branch 'origin/master' into fetchimagetokexternal
Diffstat (limited to 'inc/PassHash.class.php')
-rw-r--r--inc/PassHash.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/PassHash.class.php b/inc/PassHash.class.php
index 61bd74939..607661a22 100644
--- a/inc/PassHash.class.php
+++ b/inc/PassHash.class.php
@@ -98,7 +98,7 @@ class PassHash {
$salt = '';
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
for($i = 0; $i < $len; $i++) {
- $salt .= $chars[mt_rand(0, 61)];
+ $salt .= $chars[auth_random(0, 61)];
}
return $salt;
}