File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 5959 Authenticate::class,
6060 ],
6161 'navigation_items ' => [
62- NavigationItem::make (fn () => flexiblePagesTrans ('panel.navigation_items.go_to_website_lbl ' ))
63- ->url ('/ ' )
64- ->openUrlInNewTab ()
65- ->icon ('heroicon-o-globe-alt ' )
66- ->sort (-100 ),
62+ // WARNING: Do not place redirect NavigationItems first in the array.
63+ // Filament automatically redirects to the first navigation item on panel load.
64+ // If that item is an external redirect (like the home route), users will be
65+ // bounced out of the panel, creating the appearance of authentication failure.
66+ //
67+ // NavigationItem::make(fn () => flexiblePagesTrans('panel.navigation_items.go_to_website_lbl'))
68+ // ->url('/')
69+ // ->openUrlInNewTab()
70+ // ->icon('heroicon-o-globe-alt')
71+ // ->sort(-100),
6772 ],
6873 ],
6974
You can’t perform that action at this time.
0 commit comments