mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
fix emailing of up/down hosts and add config option to allow unauth'd graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@1091 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+3
-1
@@ -15,7 +15,9 @@ if($_GET['debug']) {
|
||||
include("../includes/rewrites.php");
|
||||
include("includes/authenticate.inc.php");
|
||||
|
||||
if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
|
||||
if(!$config['allow_unauth_graphs']) {
|
||||
if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
|
||||
}
|
||||
|
||||
if($_GET['device']) {
|
||||
$_GET['id'] = $_GET['device'];
|
||||
|
||||
Reference in New Issue
Block a user