mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix allow_unauth_graphs (#12829)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
use LibreNMS\Data\Store\Datastore;
|
||||
use LibreNMS\Util\Debug;
|
||||
|
||||
$auth = false;
|
||||
$start = microtime(true);
|
||||
|
||||
$init_modules = ['web', 'graphs', 'auth'];
|
||||
|
@@ -31,7 +31,6 @@ $prev_from = ($from - $period);
|
||||
|
||||
$graph_image_type = $vars['graph_type'] ?? Config::get('webui.graph_type');
|
||||
$rrd_options = '';
|
||||
$auth = false;
|
||||
|
||||
require Config::get('install_dir') . "/includes/html/graphs/$type/auth.inc.php";
|
||||
|
||||
|
Reference in New Issue
Block a user