mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update PasswordHash.php
Updated line 54 to $output.
This commit is contained in:
@ -51,7 +51,7 @@ class PasswordHash {
|
||||
|
||||
$output = openssl_random_pseudo_bytes($count,$strong);
|
||||
|
||||
if(empty($count))
|
||||
if(empty($output))
|
||||
{
|
||||
if (is_readable('/dev/urandom') &&
|
||||
($fh = @fopen('/dev/urandom', 'rb')))
|
||||
|
Reference in New Issue
Block a user