Skip to content

Support Eloquent driven users - #91

Merged
jackmcdade merged 1 commit into
statamic:masterfrom
ryanmitchell:patch-1
Dec 5, 2023
Merged

jackmcdade merged 1 commit into
statamic:masterfrom
ryanmitchell:patch-1

Conversation

@ryanmitchell

Copy link
Copy Markdown
Contributor

Run $user through the Statamic user facade to ensure its a valid Statamic user.

Closes #75

@JorisOrangeStudio

Copy link
Copy Markdown

@ryanmitchell Nice thanks! Looks like this fix works. Can't wait for the merge :)

@JorisOrangeStudio

Copy link
Copy Markdown

@jackmcdade Do you have time to review (& merge) this PR?

@jackmcdade
jackmcdade merged commit b6f852d into statamic:master Dec 5, 2023
@ryanmitchell
ryanmitchell deleted the patch-1 branch December 5, 2023 14:47
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.

Call to undefined method App\Models\User::name()

3 participants