Files
librenms-librenms/includes/html/graphs/global/auth.inc.php

8 lines
108 B
PHP
Raw Normal View History

<?php
use LibreNMS\Authentication\LegacyAuth;
if (LegacyAuth::user()->hasGlobalRead()) {
$auth = 1;
}