Wally
2nd panel with other authmiddleware
Hello everyone, I have another table with password, also the model that implements FilamentUser etc.., I made another Middleware and added the guard and provider for that specific model, made a custom LoginClass that extend Filament Auth -> Login, defined a route and despite this it doesn't work, the new view point to the default login with users table.
->login(CustomClass::class)
->authMiddleware([
CustomMidd::class
])
Am I forgetting something?
8 replies
Attachments concept tips
Hello everyone, this is my first post so sorry if I make some mistakes.
I've some entities that have attachments and others that may have other ones . My consideration (also doubt) is: is it better considering a db table where all the attachments converge therefore thinking a FileUpload component that manage morphTo relations, or manage each attachment as a field of that specific model?
4 replies