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

Can I use other "users" table? #320

Closed
dkstudio86 opened this issue Aug 21, 2024 · 3 comments · Fixed by #324
Closed

Can I use other "users" table? #320

dkstudio86 opened this issue Aug 21, 2024 · 3 comments · Fixed by #324

Comments

@dkstudio86
Copy link
Contributor

I need to use Users from a custom table/model. I have a custom user provider that login users from a custom model. In my case 'Afiliado' is a Authenticatable model associated with 'afiliados' table.

I want to config Bolt to use this model for register users anwers.

@atmonshi
Copy link
Member

Bolt by default reads this config: config('auth.providers.users.model')
in auth.php

can you change it? or are you using both: afiliados and users?

@dkstudio86
Copy link
Contributor Author

I'm using both models (User and Afiliado). I added a custom guard for Afiliado.

@atmonshi atmonshi linked a pull request Sep 1, 2024 that will close this issue
@atmonshi
Copy link
Member

atmonshi commented Sep 1, 2024

released on v3.0.65.
please test and let me know.

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 a pull request may close this issue.

2 participants