mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
11 lines
203 B
PHP
11 lines
203 B
PHP
<?php
|
|
|
|
// FIXME - wtfbbq
|
|
use LibreNMS\Authentication\Auth;
|
|
|
|
if (Auth::user()->hasGlobalRead() || $auth) {
|
|
$id = mres($vars['id']);
|
|
$title = generate_device_link($device);
|
|
$auth = true;
|
|
}
|