Update index.php

This commit is contained in:
FusionPBX 2024-10-21 15:25:45 -06:00 committed by GitHub
parent b801b8a5c9
commit f24847d1c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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;