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

fix: replace hard-coded team invitation model table in unique validation rule #1490

Merged
merged 1 commit into from
May 13, 2024

Conversation

Tailzip
Copy link
Contributor

@Tailzip Tailzip commented May 13, 2024

Hard-coded team invitation model table in unique validation rule in InviteTeamMember action breaks application if user has overridden team invitation model using available Jetstream::useTeamInvitationModel() method.

This PR updates the validation rule to use Jetstream::teamInvitationModel() instead, so currently set invitation model table is used.

@taylorotwell taylorotwell merged commit 30bde13 into laravel:5.x May 13, 2024
8 checks passed
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.

None yet

2 participants