mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +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);
|
||||
|
||||
if(empty($count))
|
||||
if(empty($output))
|
||||
{
|
||||
if (is_readable('/dev/urandom') &&
|
||||
($fh = @fopen('/dev/urandom', 'rb')))
|
||||
|
||||
Reference in New Issue
Block a user