F
Filament2mo ago
MauMau

Is it possible to display a user menu for guests?

I created a panel without standard filament authentication, and I created a secondary login type, then I want to display some menus for this type of user.
2 Replies
Dennis Koch
Dennis Koch2mo ago
Filament requires an authenticated user. You can show/hide user menu items via ->visible() method. So ->visible(fn () => auth()->user()->your_check)
MauMau
MauMau2mo ago
Thank you @Dennis Koch