mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-01 04:59:25 -06:00
Hard stop if feature flag is disabled.
This commit is contained in:
parent
4436c9939e
commit
0813464fe0
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user