We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f21fab commit 3417b60Copy full SHA for 3417b60
app/Console/Kernel.php
@@ -22,7 +22,7 @@ protected function schedule(Schedule $schedule): void
22
->when(fn (): bool => config('scheduling.tasks.auth_send_mails_expiring_api_tokens'))
23
->everyTenMinutes();
24
25
- if (config('scheduling.tasks.self_hosting_check_for_update') || config('scheduling.tasks.self_hosting_telemetry')) {
+ if (config('app.key') && (config('scheduling.tasks.self_hosting_check_for_update') || config('scheduling.tasks.self_hosting_telemetry'))) {
26
// Convert string to a stable integer for seeding
27
/** @var int $seed Take the first 8 hex chars → 32-bit int */
28
$seed = hexdec(substr(hash('md5', config('app.key')), 0, 8));
0 commit comments