Fix: SSL-Erstellung nicht von APP_ENV abhängig machen

isProduction()-Check entfernt — SSL wird jetzt allein durch skipSsl gesteuert,
da APP_ENV=local sonst SSL-Zertifikate komplett verhindert.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-04-24 14:03:24 +02:00
parent af045b21d5
commit 31f486c753
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ class Wizard extends Component
file_put_contents(self::STATE_DIR . "/{$k}", 'pending');
}
$ssl = (!$this->skipSsl && app()->isProduction()) ? 1 : 0;
$ssl = $this->skipSsl ? 0 : 1;
$artisan = base_path('artisan');
$cmd = sprintf(
'nohup php %s mailwolt:wizard-domains --ui=%s --mail=%s --webmail=%s --ssl=%d > /dev/null 2>&1 &',
@ -192,7 +192,7 @@ class Wizard extends Component
$this->domainStatus = ['ui' => 'pending', 'mail' => 'pending', 'webmail' => 'pending'];
$this->setupDone = false;
$ssl = (!$this->skipSsl && app()->isProduction()) ? 1 : 0;
$ssl = $this->skipSsl ? 0 : 1;
$artisan = base_path('artisan');
$cmd = sprintf(
'nohup php %s mailwolt:wizard-domains --ui=%s --mail=%s --webmail=%s --ssl=%d > /dev/null 2>&1 &',