mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
update nova integration for v3 mw
This commit is contained in:
parent
37f5c906fc
commit
5c5af86851
1 changed files with 12 additions and 2 deletions
|
|
@ -48,6 +48,16 @@ To use Nova inside of the tenant part of your application, do the following:
|
||||||
with these lines:
|
with these lines:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
->withAuthenticationRoutes(['web', 'tenancy'])
|
->withAuthenticationRoutes([
|
||||||
->withPasswordResetRoutes(['web', 'tenancy'])
|
// 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',
|
||||||
|
])
|
||||||
```
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue