Skip to content

Conversation

adevade
Copy link
Contributor

@adevade adevade commented Apr 13, 2020

This PR will add a $hidden attribute to models if the columns include password or remember_token. The same values as in the default Laravel User.php.

Mentioned in #92

Copy link
Collaborator

@jasonmccreary jasonmccreary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Minor change if you want to make it, quick refactor to array_intersect().

@jasonmccreary jasonmccreary merged commit b87de46 into laravel-shift:master Apr 13, 2020
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