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 other guard than Nova uses #152

Open
danielschweiger opened this issue Jan 26, 2021 · 0 comments
Open

Use other guard than Nova uses #152

danielschweiger opened this issue Jan 26, 2021 · 0 comments

Comments

@danielschweiger
Copy link

I have an own guard "admin" for Nova.
With the tool I want to manage the users who are using "web" guard and login at my jetstream dashbaord.
How can I tell the tool to use individuael guard?

In Role.php the tool get's the guard here:

$userResource = Nova::resourceForModel(getModelForGuard($this->guard_name));

The result is

App\Nova\Admin 

It should be

App\Nova\User

in my case.

Would be cool if one could configure this on tool initialization. Even better would be the tool could handle multiple guards.

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