F
Filamentβ€’3mo ago
binaryfire

Exclude a page from global panel middleware

Hi all. Is there a way of excluding a page from the global panel middleware? Use case: I need to prevent access to a panel until a user has verified their billing information. I've added my RedirectIfBillingNotVerified middleware to ->authMiddleware() and it works, but the page with the billing verification form needs to be excluded. I could create a separate (non-panel) page but I'd prefer it to be a panel page so it inherits the panel styling. Is there a simple way of doing this?
Solution:
not sure if withoutRouteMiddleware will help
Jump to solution
2 Replies
Solution
Lara Zeus
Lara Zeusβ€’3mo ago
not sure if withoutRouteMiddleware will help
binaryfire
binaryfireβ€’3mo ago
That's exactly what I was looking for πŸ™‚ Thanks!
Want results from more Discord servers?
Add your server
More Posts