diff --git a/app/Http/Controllers/Admin/TelemetryController.php b/app/Http/Controllers/Admin/TelemetryController.php index 9aea8f4c5f..ec8dcddbad 100644 --- a/app/Http/Controllers/Admin/TelemetryController.php +++ b/app/Http/Controllers/Admin/TelemetryController.php @@ -38,6 +38,9 @@ class TelemetryController extends Controller public function __construct() { + if (false === config('firefly.feature_flags.telemetry')) { + die('Telemetry is disabled.'); + } parent::__construct(); $this->middleware(