Skip to content

Commit 514e2d5

Browse files
authored
Make name optional question
1 parent 8b8570c commit 514e2d5

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)