From 514e2d551af6b87baf182dfa2dff7f203997e376 Mon Sep 17 00:00:00 2001 From: Ankur Kumar Date: Thu, 10 Jan 2019 14:27:52 +0530 Subject: [PATCH] Make name optional question --- src/Console/ClientCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Console/ClientCommand.php b/src/Console/ClientCommand.php index db648660f..4a20e30bc 100644 --- a/src/Console/ClientCommand.php +++ b/src/Console/ClientCommand.php @@ -100,7 +100,8 @@ protected function createPasswordClient(ClientRepository $clients) protected function createClientCredentialsClient(ClientRepository $clients) { $name = $this->option('name') ?: $this->ask( - 'What should we name the client?' + 'What should we name the client?', + config('app.name').' ClientCredentials Grant Client' ); $client = $clients->create(