From 09dfc5ca2bb236a19111fb18d87ae4a29fa61534 Mon Sep 17 00:00:00 2001 From: Sammyjo20 <29132017+Sammyjo20@users.noreply.github.com> Date: Thu, 28 Sep 2023 23:25:57 +0100 Subject: [PATCH] Fix | Fixed Every Connector Having OAuth --- src/Console/Commands/MakeConnector.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Console/Commands/MakeConnector.php b/src/Console/Commands/MakeConnector.php index 119404a..d0c2ed7 100644 --- a/src/Console/Commands/MakeConnector.php +++ b/src/Console/Commands/MakeConnector.php @@ -63,11 +63,8 @@ protected function afterPromptingForMissingArguments(InputInterface $input, Outp return; } - $type = $this->choice('Should the connector support OAuth?', [ - true => 'Yes', - false => 'No', - ]); + $supportOauth = $this->confirm('Should the connector support OAuth? (Authorization Code Grant)'); - $input->setOption('oauth', $type); + $input->setOption('oauth', $supportOauth); } }