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

Use a morpahble for user resolving instead of static config resolving. #405

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tekook
Copy link

@tekook tekook commented Sep 30, 2021

I'm currently developing an app with multiple auth providers.
Since revisionable uses a static provider set in config, I'm getting the wrong type of users.

I changed the user field into a morphable one so, the model can be created without the need of a resolver.
This adds a simple way of supporting multiple auth providers without breaking any installations.
I keep the original userResponsible() so it does not break history revisions which got created before the update.

@wajdijurry
Copy link

2 Years and still not approved?!!

@rjp2525
Copy link

rjp2525 commented Sep 25, 2023

@wajdijurry laravel-auditing is a much better alternative, this one seems to be abandoned at this point

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