Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0] Make name an optional question #926

Merged
merged 1 commit into from
Jan 10, 2019
Merged

[7.0] Make name an optional question #926

merged 1 commit into from
Jan 10, 2019

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