diff --git a/app/Initialize/Actions/InitializeAction.php b/app/Initialize/Actions/InitializeAction.php index 7134a7fc..b2e44510 100644 --- a/app/Initialize/Actions/InitializeAction.php +++ b/app/Initialize/Actions/InitializeAction.php @@ -16,14 +16,11 @@ use App\Setting\NamiSettings; use Illuminate\Http\RedirectResponse; use Lorisleiva\Actions\ActionRequest; use Lorisleiva\Actions\Concerns\AsAction; -use Zoomyboy\LaravelNami\Nami; class InitializeAction { use AsAction; - public string $commandSignature = 'initialize {--mglnr=} {--password=} {--group=}'; - /** * @var array */ @@ -74,8 +71,6 @@ class InitializeAction public function asController(ActionRequest $request, NamiSettings $settings): RedirectResponse { - $api = Nami::freshLogin($request->input('mglnr'), $request->input('password')); - $settings->mglnr = (int) $request->input('mglnr'); $settings->password = $request->input('password'); $settings->default_group_id = (int) $request->input('group_id');