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 protected Authenticatable identifier #5

Merged
merged 1 commit into from
Sep 17, 2017
Merged

support protected Authenticatable identifier #5

merged 1 commit into from
Sep 17, 2017

Conversation

motia
Copy link
Contributor

@motia motia commented Aug 7, 2017

I was using this package with laravel-doctrine, and I get error if my Authenticable entity have a protected/private identifier.
Now, the token manager use the identifier getter function rather than accessing it directly.

PS: thanks for the package, it is awesomely simple.

@hernandev
Copy link
Member

Hey man, it's great you liked it. It's great your pull request, indeed, the way it was would mostly work only with Eloquent. Gonna accept your PR as soon I push some pending local code tomorrow. Thanks for it.

@n0n0n0n0
Copy link

n0n0n0n0 commented Sep 4, 2017

Accept please.

@hernandev hernandev merged commit 32db08c into codecasts:master Sep 17, 2017
@hernandev
Copy link
Member

sorry forgot about this one. thanks!

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.

3 participants