diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 6da12254..2927297b 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -137,6 +137,9 @@ class SetupController extends Controller 'site_name' => 'required', ]); + \Illuminate\Console\Application::starting(function ($artisan) { + $artisan->resolveCommands([\Laravel\Passport\Console\KeysCommand::class]); + }); if ($request->has('generate_random')) { Artisan::call('key:random'); Artisan::call('salt:random');