diff --git a/app/Console/Commands/CreateAccount.php b/app/Console/Commands/CreateAccount.php index 689ba262b0b5..b6c51e992858 100644 --- a/app/Console/Commands/CreateAccount.php +++ b/app/Console/Commands/CreateAccount.php @@ -91,6 +91,8 @@ class CreateAccount extends Command $account = Account::factory()->create(); $company = Company::factory()->create([ 'account_id' => $account->id, + 'portal_domain' => config('ninja.app_url'), + 'portal_mode' => 'domain', ]); $account->default_company_id = $company->id;