Skip to content
Browse files

Secruity fixes from Joomla 1.7.3.

  • Loading branch information...
1 parent a946b08 commit 19310ab37399e78637ddb6ee64903f1b8066544c @realityking committed Nov 14, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 libraries/joomla/user/helper.php
View
8 libraries/joomla/user/helper.php
@@ -531,14 +531,6 @@ public static function genRandomPassword($length = 8)
$len = strlen($salt);
$makepass = '';
- $stat = @stat(__FILE__);
- if (empty($stat) || !is_array($stat))
- {
- $stat = array(php_uname());
- }
-
- mt_srand(crc32(microtime() . implode('|', $stat)));
-
for ($i = 0; $i < $length; $i++)
{
$makepass .= $salt[mt_rand(0, $len - 1)];

0 comments on commit 19310ab

Please sign in to comment.
Something went wrong with that request. Please try again.