sathish
sathish
FFilament
Created by sathish on 11/27/2024 in #❓┊help
Filament 3, connect two tables admins or users for login
class AdminPanelProvider extends PanelProvider { public function panel(Panel $panel) : Panel { return $panel ->default() ->id('admin') ->path('admin') ->authGuard('admin') ->login(CustomLogin::class) ->colors([ 'primary' => Color::Amber, ]) ------------- } } is possible to add two panel in the PanelProvider?
13 replies
FFilament
Created by sathish on 11/27/2024 in #❓┊help
Filament 3, connect two tables admins or users for login
ok
13 replies
FFilament
Created by sathish on 11/27/2024 in #❓┊help
Filament 3, connect two tables admins or users for login
Thanks for suggestion, I have two guards admin or users Filament::auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false) Is possible to add guard in the above code? Like Filament::guard('user')->auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false); Filament::guard('admin')->auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false)
13 replies
FFilament
Created by sathish on 11/27/2024 in #❓┊help
Filament 3, connect two tables admins or users for login
Thanks for suggestion Filament::auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false) Is possible to add guard in the above code? Like Filament::guard('user')->auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false); Filament::guard('admin')->auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false)
13 replies
FFilament
Created by sathish on 8/23/2023 in #❓┊help
Laravel filament relationship manager (attach two belongtomany attribute)
ok
5 replies
FFilament
Created by sathish on 8/23/2023 in #❓┊help
Laravel filament relationship manager (attach two belongtomany attribute)
ok, Can you please share any docs related the kinds of UI?
5 replies