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 multiple guards #384

Open
MordiSacks opened this issue May 17, 2022 · 1 comment
Open

Support multiple guards #384

MordiSacks opened this issue May 17, 2022 · 1 comment

Comments

@MordiSacks
Copy link

MordiSacks commented May 17, 2022

In my use case I have 3 different kinds of users each with their own guard
Would it be possible to support this?

@MordiSacks
Copy link
Author

I have managed to achieve this by using a middleware that changed to settings (and having multiple tables), but it would be nice, if the package would support different guards natively, Tried to work on a PR, but I got a bit overwhelmed with the package, as I don't use actions. but basically the package shouldn't assume user_id, it should morph an authenticatable_id,
Regardless, This package is amazing, thank you for all your hard work

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

No branches or pull requests

1 participant