mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
7250376104
* Don't access $_SESSION directly for Auth * fix style * add property annotations
8 lines
96 B
PHP
8 lines
96 B
PHP
<?php
|
|
|
|
use LibreNMS\Authentication\Auth;
|
|
|
|
if (Auth::user()->hasGlobalRead()) {
|
|
$auth = 1;
|
|
}
|