Seyed Ali Khoshdel
Seyed Ali Khoshdel
FFilament
Created by Seyed Ali Khoshdel on 7/1/2024 in #❓┊help
How to disable filament sidebar for guest user
I need to disable sidebar sidebar for guest user , so i made this command : ->sidebarWidth(auth()->check() ? '20rem' : '0rem') but it semms auth()->check() always will be false in the PanelProvied files because it's loading before session making so how can i handle it without editing the base file?
4 replies