stancl / tenancy-docs

stancl/tenancy docs & website
https://tenancyforlaravel.com/docs
MIT License
66 stars 636 forks source link

Update nova.blade.md #237

Closed daverdalas closed 1 year ago

daverdalas commented 1 year ago

Laravel Nova middleware called nova use Laravel\Nova\Http\Middleware::class which cause infinite redirects. Default withAuthenticationRoutes and withPasswordResetRoutes route group is web so it doesn't make sens to add nova middleware group there.

stancl commented 1 year ago

We use the approach described in the docs in our SaaS boilerplate and it works perfectly.