Help: How do i use different Model (Admin) instead of using FilamentPHP default Model (User)

fi
6 Replies
QuantumBen
QuantumBen7mo ago
This is not used for creating new model
Dennis Koch
Dennis Koch7mo ago
What do you mean? Please explain your question further if a custom guard it not what you want.
QuantumBen
QuantumBen7mo ago
I'm trying to use another model instead of using User model. This means i want to create a model named Admin model.
Jyrki
Jyrki7mo ago
You define your Admin model in the new guard, see https://stackoverflow.com/a/40994838 as an example
Stack Overflow
How to use authentication on custom model in Laravel
I'm making new custom model for user in laravel. I'm using the default User laravel model for one type of users that I will have, and new Merchant model for other type of users. I make select opti...
QuantumBen
QuantumBen7mo ago
Thank you so much @Jyrki
Want results from more Discord servers?
Add your server
More Posts