From af05970907ee743ebf9bf7e432876508c9093dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Ardila?= Date: Fri, 26 Aug 2022 19:39:22 +0200 Subject: [PATCH] Update integration for laravel nova 4 (#180) 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`