Skip to content

Commit

Permalink
Merge pull request #926 from ankurk91/patch/c
Browse files Browse the repository at this point in the history
[7.0] Make name an optional question
  • Loading branch information
taylorotwell authored Jan 10, 2019
2 parents 8b8570c + 514e2d5 commit 0376207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/ClientCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0376207

Please sign in to comment.