From b9225db624dd0c27cb3fac4494b10c295cf51bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Ardila?= Date: Tue, 19 Jul 2022 12:44:10 +0200 Subject: [PATCH] Update integration for laravel nova 4 The previous configuration throws an error when setting up the middleware with 'web', you have to use 'nova' with nova v4. --- 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 ee58eee..7a41d1e 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, - 'web', + 'nova', ]) ->withPasswordResetRoutes([ // You can make this simpler by creating a tenancy route group InitializeTenancyByDomain::class, PreventAccessFromCentralDomains::class, - 'web', + 'nova', ]) ``` - Set the `domain` in Nova config to `null`