diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-08-03 10:44:54 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-08-03 10:44:54 +0200 |
commit | 6acfab8732e1784b953c8cc2ae7408f84fda7ce8 (patch) | |
tree | 01e6ac38df46c9ad18f058c8d597617702eb67f3 /inc/PassHash.class.php | |
parent | 51bd6f039e782dca456022514893aa80bd7c52b9 (diff) | |
parent | cab505616ec9b8ef3cd671e7337c91d065745932 (diff) | |
download | rpg-6acfab8732e1784b953c8cc2ae7408f84fda7ce8.tar.gz rpg-6acfab8732e1784b953c8cc2ae7408f84fda7ce8.tar.bz2 |
Merge remote-tracking branch 'origin/master' into changelogtestsonly
Diffstat (limited to 'inc/PassHash.class.php')
-rw-r--r-- | inc/PassHash.class.php | 2 |
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; } |