8 lines
108 B
PHP
Raw Normal View History

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