mirror of
https://github.com/librenms/librenms.git
synced 2024-09-25 12:27:16 +00:00
fix auth for multiport (hacky)
git-svn-id: http://www.observium.org/svn/observer/trunk@1642 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
parent
6956fbee3a
commit
b69cc5b72c
@ -1,6 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
### FIXME
|
$auth = TRUE;
|
||||||
|
|
||||||
|
foreach(explode(",", $id) as $ifid) {
|
||||||
|
if(!port_permitted($ifid))
|
||||||
|
$auth = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
#if(is_numeric($id)) {
|
#if(is_numeric($id)) {
|
||||||
# $port = get_port_by_id($id);
|
# $port = get_port_by_id($id);
|
||||||
|
Loading…
Reference in New Issue
Block a user