lara-zeus / bolt

form builder for your users, with so many use cases
https://larazeus.com/bolt
MIT License
172 stars 31 forks source link

Can I use other "users" table? #320

Closed dkstudio86 closed 1 week ago

dkstudio86 commented 3 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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

atmonshi commented 1 week ago

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