FilamentF
Filament14mo ago
Adel

optional login/registration

how to allow guest to be able to access my application with the ability to login/register (I will add them to the navigation bar) ?

I am following filament recommendation:
  • Remove the default Authenticate::class from the authMiddleware() array in the panel configuration.
  • Remove ->login() and any other authentication features from the panel.
  • Remove the default AccountWidget from the widgets() array, because it reads the current user's data.
but now login and registration pages are not available!
Was this page helpful?