mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
Register command at setup
This commit is contained in:
parent
f297788806
commit
d519a4824a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user