Skip to content

Conversation

@ankurk91
Copy link
Contributor

@ankurk91 ankurk91 commented Jan 10, 2019

The command ask a required question but allows user to skip; which cause failure in mysql insert query.
Just press enter when the command asks
"What should we name the client?:"

php artisan passport:client --client

This PR will auto guess the name when no name is specified or input by user.

@driesvints driesvints changed the title Make name optional question [7.0] Make name optional question Jan 10, 2019
@ankurk91
Copy link
Contributor Author

We should also put some validation on createAuthCodeClient

protected function createAuthCodeClient(ClientRepository $clients)

@ankurk91 ankurk91 changed the title [7.0] Make name optional question [7.0] Make name an optional question Jan 10, 2019
@taylorotwell taylorotwell merged commit 0376207 into laravel:7.0 Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants