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

Support distinct PK for User model #357

Closed
wants to merge 1 commit into from
Closed

Conversation

GromNaN
Copy link

@GromNaN GromNaN commented Feb 14, 2024

Some projects use a distinct primary key for the User model. This change makes sure the validation constraint is checking the correct field with the correct value defined by the model class.
This affect the "Profile Information" form with the email field.

@taylorotwell
Copy link
Member

You can change this in your own app.

@GromNaN
Copy link
Author

GromNaN commented Feb 14, 2024

Of course, like I could create everything in my own app. The goal is to make it work out of the box for other Laravel users, with minimal changes.

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