Skip to content

Commit 0376207

Browse files
authored
Merge pull request #926 from ankurk91/patch/c
[7.0] Make name an optional question
2 parents 8b8570c + 514e2d5 commit 0376207

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console/ClientCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ protected function createPasswordClient(ClientRepository $clients)
100100
protected function createClientCredentialsClient(ClientRepository $clients)
101101
{
102102
$name = $this->option('name') ?: $this->ask(
103-
'What should we name the client?'
103+
'What should we name the client?',
104+
config('app.name').' ClientCredentials Grant Client'
104105
);
105106

106107
$client = $clients->create(

0 commit comments

Comments
 (0)