mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02: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);
|
$output = openssl_random_pseudo_bytes($count,$strong);
|
||||||
|
|
||||||
if(empty($count))
|
if(empty($output))
|
||||||
{
|
{
|
||||||
if (is_readable('/dev/urandom') &&
|
if (is_readable('/dev/urandom') &&
|
||||||
($fh = @fopen('/dev/urandom', 'rb')))
|
($fh = @fopen('/dev/urandom', 'rb')))
|
||||||
|
|||||||
Reference in New Issue
Block a user