From 5c5af86851e1037545841abe5cda4df453876f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 14 Jun 2020 21:52:13 +0200 Subject: [PATCH] update nova integration for v3 mw --- source/docs/v3/integrations/nova.blade.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/integrations/nova.blade.md b/source/docs/v3/integrations/nova.blade.md index 8d3036a..16abaff 100644 --- a/source/docs/v3/integrations/nova.blade.md +++ b/source/docs/v3/integrations/nova.blade.md @@ -48,6 +48,16 @@ To use Nova inside of the tenant part of your application, do the following: with these lines: ```php - ->withAuthenticationRoutes(['web', 'tenancy']) - ->withPasswordResetRoutes(['web', 'tenancy']) + ->withAuthenticationRoutes([ + // You can make this simpler by creating a tenancy route group + InitializeTenancyByDomain::class, + PreventAccessFromCentralDomains::class, + 'web', + ]) + ->withPasswordResetRoutes([ + // You can make this simpler by creating a tenancy route group + InitializeTenancyByDomain::class, + PreventAccessFromCentralDomains::class, + 'web', + ]) ``` \ No newline at end of file