Fixed typo in self hosting command

This commit is contained in:
Constantin Graf
2024-05-22 16:00:25 +02:00
committed by Constantin Graf
parent 280d778794
commit c888ac7ec2

View File

@@ -41,8 +41,8 @@ class SelfHostGenerateKeys extends Command
if ($format === 'env') {
$this->line('APP_KEY="'.$appKey.'"');
$this->line('PASSPORT_PRIVATE_KEY="'.$publicKey.'"');
$this->line('PASSPORT_PUBLIC_KEY="'.$privateKey.'"');
$this->line('PASSPORT_PRIVATE_KEY="'.$privateKey.'"');
$this->line('PASSPORT_PUBLIC_KEY="'.$publicKey.'"');
} elseif ($format === 'yaml') {
$this->line('APP_KEY: "'.$appKey.'"');
$this->line("PASSPORT_PRIVATE_KEY: |\n ".Str::replace("\n", "\n ", $privateKey));