Update index.php
This commit is contained in:
parent
b801b8a5c9
commit
f24847d1c4
|
|
@ -242,11 +242,6 @@
|
||||||
//get all provision settings
|
//get all provision settings
|
||||||
$provision = $settings->get('provision', null, []);
|
$provision = $settings->get('provision', null, []);
|
||||||
|
|
||||||
//check for a valid match
|
|
||||||
if (empty($device_uuid) && $settings->get('provision', 'auto_insert_enabled', 'false') !== 'true') {
|
|
||||||
http_error(403);
|
|
||||||
}
|
|
||||||
|
|
||||||
//check the cidr range
|
//check the cidr range
|
||||||
if (!empty($provision['cidr'])) {
|
if (!empty($provision['cidr'])) {
|
||||||
$found = false;
|
$found = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue