From 76f5bf57521d6dfd3e2447272317b9179d41b4b7 Mon Sep 17 00:00:00 2001 From: Piotr Suchanek Date: Tue, 31 Jan 2023 08:25:38 +0100 Subject: [PATCH] Update nova.blade.md 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 `nova` middleware group there. --- source/docs/v3/integrations/nova.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/integrations/nova.blade.md b/source/docs/v3/integrations/nova.blade.md index ec23b78..c46ee95 100644 --- a/source/docs/v3/integrations/nova.blade.md +++ b/source/docs/v3/integrations/nova.blade.md @@ -51,13 +51,13 @@ To use Nova inside of the tenant part of your application, do the following: // You can make this simpler by creating a tenancy route group InitializeTenancyByDomain::class, PreventAccessFromCentralDomains::class, - 'nova', + 'web', ]) ->withPasswordResetRoutes([ // You can make this simpler by creating a tenancy route group InitializeTenancyByDomain::class, PreventAccessFromCentralDomains::class, - 'nova', + 'web', ]) ``` - Set the `domain` in Nova config to `null`