Fix loading commands of laravel/passport
This commit is contained in:
parent
2b575d7a8f
commit
22d49f972d
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
use Artisan;
|
||||
|
||||
\Illuminate\Console\Application::starting(function ($artisan) {
|
||||
$artisan->resolveCommands([\Laravel\Passport\Console\KeysCommand::class]);
|
||||
});
|
||||
|
||||
Artisan::call('jwt:secret', ['--no-interaction' => true]);
|
||||
Artisan::call('migrate', ['--force' => true]);
|
||||
Artisan::call('passport:keys', ['--no-interaction' => true]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user