mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
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.
This commit is contained in:
parent
7b6a692b59
commit
af05970907
1 changed files with 2 additions and 2 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue