Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1598 from diegovarussa/staging

Simple fix on JCryptPasswordSimple class
  • Loading branch information...
commit f1b808a5546d309dfd2a82c8e8ee33151aa2f282 2 parents 57d3e37 + 6ae6938
@LouisLandry LouisLandry authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/crypt/password/simple.php
View
2  libraries/joomla/crypt/password/simple.php
@@ -99,7 +99,7 @@ protected function getSalt($length)
{
$bytes = ceil($length * 6 / 8);
- $randomData = str_replace('+', '.', base64_encode(JCrypt::getRandomBytes($bytes)));
+ $randomData = str_replace('+', '.', base64_encode(JCrypt::genRandomBytes($bytes)));
return substr($randomData, 0, $length);
}
Please sign in to comment.
Something went wrong with that request. Please try again.