Hard stop if feature flag is disabled.

This commit is contained in:
James Cole
2020-03-22 08:06:36 +01:00
parent 4436c9939e
commit 0813464fe0

View File

@@ -38,6 +38,9 @@ class TelemetryController extends Controller
public function __construct() public function __construct()
{ {
if (false === config('firefly.feature_flags.telemetry')) {
die('Telemetry is disabled.');
}
parent::__construct(); parent::__construct();
$this->middleware( $this->middleware(