2012-05-11 16:27:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
2018-09-11 07:51:35 -05:00
|
|
|
use LibreNMS\Authentication\LegacyAuth;
|
2018-04-07 15:55:28 -05:00
|
|
|
|
2018-09-11 07:51:35 -05:00
|
|
|
if (LegacyAuth::user()->hasGlobalRead()) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$auth = 1;
|
2012-05-11 16:27:55 +00:00
|
|
|
}
|